Posted by turnitup on 09/09/06 08:40
I have found that by far the easiest way to store dates in my LAMP
application is in a text string in the database in Unixtime format.
First of all, what would be the most efficient data type to store this as?
Secondly, in terms of translating into a human readable format, is it
quicker to format the date in the application using date() or in the
database in the select query?
Any thoughts?
[Back to original message]
|