jamess Posted July 17, 2009 Share Posted July 17, 2009 I have a date in this format in my database: 1247823445 How do i turn this into somthing like 'Friday, 10:30 AM'? Cheers, James Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted July 17, 2009 Share Posted July 17, 2009 MySQL? Use the DATE_FORMAT() function. Quote Link to comment Share on other sites More sharing options...
jamess Posted July 17, 2009 Author Share Posted July 17, 2009 echo $row['subject'] . " - " . date('l j F', $datetime); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.