date format question
Posted: Mon Mar 27, 2006 1:32 am
Hi
I have this time stamp:
20051107065122
I'm trying to parse it into something like this:
Nov 07 2005, 06:51:22
I've tried the following:
either of the above give me:
Jan 19 2038 03:14:07
what am I doing wrong?
I have this time stamp:
20051107065122
I'm trying to parse it into something like this:
Nov 07 2005, 06:51:22
I've tried the following:
Code: Select all
echo date("M d Y H:i:s", "20051107065122" );
echo gmdate("M d Y H:i:s", "20051107065122" ));Jan 19 2038 03:14:07
what am I doing wrong?