To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm > -----Original Message----- > From: Balwant Singh [mailto:balwantsingh@xxxxxxxxxxxxx] > Sent: 01 February 2005 08:08 > > on echoing $timestamp i m getting "Fri Jan 28 19:53:09 2005" > but on echoing $date i m getting 1970-01-01. > also i m getting full info. by phpinfo() > > i m using php 4.2.2 , apache 2.0 and rad hat 9. The Change Log includes this line for version 4.3.3: "Fixed bug #13142 (strtotime not handling "M d H:i:s Y" format). (Ilia)" So I guess you need at least PHP 4.3.3 for this to work correctly for you. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Headingley Campus, LEEDS, LS6 3QS, United Kingdom Email: m.ford@xxxxxxxxxxxxxx Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php