I've checked this in the PHP documentation and done a scan of the
archive to try to work out where I am going wrong but have failed. I
know I could fix this problem by using substrings and processing them,
but PHP has a simpler function which should work. Shouldn't it?
In my database a record has a timestamp of:
20010213173654
I extract the timestamp with a select statement, and process it with:
strftime("%A, %e %B %Y", $lastmodified) (where lastmodified is the
variable containing the timestamp)
and it produces the output:
Monday, 18 January 2038
Does anyone know why PHP isn't interpreting the timestamp correctly? I
can't work out how it could misinterpret the timestamp like this...
Thanks for any help!
--
Steven
"Sponges grow in the ocean... that *kills* me. I wonder how much deeper they'd
be if that didn't happen." - Steven Wright
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]