Re[2]: [PHP] date comparisions...

2005-10-07 Thread Richard Davey
Hi, Friday, October 7, 2005, 7:55:45 PM, you wrote: > dateexpired is: 1128052800 which translates into: 2005-09-30 00:00:00 > Basically, I'm just trying to figure out when the dateexpired is. IF > it is past the current date then I am erroring out and if it's under > the current date... I'm allo

Re[2]: [PHP] Date Calculation

2004-10-28 Thread Tom Rogers
Hi, Friday, October 29, 2004, 7:19:09 AM, you wrote: MT> Ok, so here is what I have. Please check to see if there is a better MT> way. There are a lot of database calls to me. MT> $database_name = "CETechnology"; MT> $host = "server"; MT> $login = "username"; MT> $password = "password"; MT> $e

Re[2]: [PHP] date

2004-02-19 Thread Tom Rogers
Hi, Friday, February 20, 2004, 6:32:27 AM, you wrote: JB> [snip] JB> hi there JB> how do i make php give me yesterday's date? JB> i tried JB> date("Y-m-d")-1 JB> but if today would be the 1st of july (2004-07-01), yesterday would be JB> 00. JB> july (2004-07-00) according to that calculator. J