[PHP] Newbie question... date.

2004-01-13 Thread DL
Hi all, I was wondering how you get the year, month, and day from a timestamp. (mySQL timestamp, Eg: 20040113130137) What PHP function(s) do I use? An example would be great Cheers, David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Newbie question... date.

2004-01-13 Thread Chris Boget
I was wondering how you get the year, month, and day from a timestamp. (mySQL timestamp, Eg: 20040113130137) What PHP function(s) do I use? An example would be great I *believe* you can use strtotime(); Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Newbie question... date.

2004-01-13 Thread Ray
On Tuesday 13 January 2004 13:57, DL wrote: Hi all, I was wondering how you get the year, month, and day from a timestamp. (mySQL timestamp, Eg: 20040113130137) What PHP function(s) do I use? An example would be great Cheers, David http://www.php.net/manual/en/function.strtotime.php