06-23-2009, 09:55 PM
|
#12 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
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.
|
|
|