|
Posted by Jason Carlton on 11/29/07 06:56
> list($year, $month, $date, $hour, $minute, $second) = split("
> ",date("Y m d H i s",timestamp));
> Hope it helps.
That's very cool, but it's not working quite right. I've tried several
variations, and keep getting the wrong thing.
If I type in:
$timestamp = 20050714010317;
echo date('Y m d H i s', $timestamp);
Then it returns:
2038 01 18 22 13 44
Any idea where that's coming from?
Navigation:
[Reply to this message]
|