[snip]
Storing a date in seconds (Unix timestamp) in a database and want to add
X number of days to this. So I want to extend a time by say 5 days, what
is the best method to handle this?
 
It's always stored as a timestamp for a day not an exact time. So dates
are stored as day (March 5th, 2003).
[/snip]

http://www.php.net/strtotime

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to