kennedysee Posted January 5, 2010 Share Posted January 5, 2010 Why the date and time is not exact with my timezone? and the data ends with a ":st"... $time = time(); $tstamp = date("m/d/y h:i:S", $time); 01/21/10 08:28:st Anyone help?? Link to comment https://forums.phpfreaks.com/topic/187216-date-time/ Share on other sites More sharing options...
Buddski Posted January 5, 2010 Share Posted January 5, 2010 I suggest you read the Manual for the Date function regarding the 'st' problem.. Also look at the function date_default_timezone_set(); Link to comment https://forums.phpfreaks.com/topic/187216-date-time/#findComment-988652 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.