hi there,
i have a date (e.g "11-12-2002" (dd-mm-YY)) and i am getting a timestamp for it by using: the following
$timestamp = mktime (0,0,0, 12, 11,2002);
however when i convert the timestamp back to a date-time using the following:
$date = date ("d-m-Y h:i:s" , $timestamp);
i get:
11-12-2002 12:00:00
however i don't know where the 12 hours is coming from... i'm sure when i used this method on linux (instead of windows) i got zero hours...
obviously i could just remove the extra hours but i don't really want to do it that way, just to have zero hours in the first place... any ideas?
rob ganly