Re: [PHP] calculating datetime

2003-08-31 Thread Curt Zirzow
* 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

[PHP] calculating datetime

2003-08-31 Thread Ryan A
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? This is for the expiring links/members part of a script i am trying to create. I have looked around the archive and google but maybe i did