* Thus wrote Ryan A ([EMAIL PROTECTED]): > Hi, > I have a datetime field in my table, i want to enter a datetime 1 day,1 hour > and 10 mins into the future from today/the present, how do i calculate that?
Your using mysql right? Just use mysql's date_add function: date_add(now(), interval '1 1:10:0' DAY_SECOND) Couldn't get any simpler :) http://www.mysql.com/doc/en/Date_and_time_functions.html Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php