Perfidus Posted July 8, 2008 Share Posted July 8, 2008 Is there a function for coming back from a strtotime conversion?? From seconds to 2008-7-8 18:55:17... Link to comment https://forums.phpfreaks.com/topic/113759-back-from-strtotime/ Share on other sites More sharing options...
Tchelo Posted July 8, 2008 Share Posted July 8, 2008 date($format,$timestamp) Link to comment https://forums.phpfreaks.com/topic/113759-back-from-strtotime/#findComment-584587 Share on other sites More sharing options...
craygo Posted July 8, 2008 Share Posted July 8, 2008 $time = time(); //now in seconds $formatted_date = date("Y-m-d H:i:s", $time); echo $formatted_date; Ray Link to comment https://forums.phpfreaks.com/topic/113759-back-from-strtotime/#findComment-584591 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.