View Single Post
Old 06-23-2009, 09:55 PM   #12 (permalink)
Wildhoney
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

It is because you're using strtotime again on an existing timestamp.

php Code:
$send_date  = date('m/d/Y');
printf('Date now: %s<br />', $send_date);

$send_date2 =    strtotime($send_date);
printf('As a timestamp: %s<br />', $send_date2);

$send_date3 =    date("m/d/Y", ($send_date2));
printf('And back again: %s', $send_date3);
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
The Following User Says Thank You to Wildhoney For This Useful Post:
nefus (06-23-2009)