When should I use int for dates?
Posted by:
donaldfuck
Date: April 11, 2005 07:00AM
I'm thinking about storing dates in my databases as unix timestamps in int fields. Since I use PHP I'm thinking it would be convenient to have timestamps rather than datetime fields. But someone told me I can't store dates earlier than 1970 as timestamps. So do I have to decide from application to application if I expect to be using dates earlier than 1970, or is there a way around this rule? Noob question, I know, but it's in the right forum then I suppose. :-)
Subject
Written By
Posted
When should I use int for dates?
April 11, 2005 07:00AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.