payney Posted January 10, 2008 Share Posted January 10, 2008 Hi guys, could someone tell me how to convert this date format which is stored as an int(11) into this format: $row['post_time'] is displayed as 1192193673 How can I convert it to this format: 17 Oct 2007 08:34 pm Cheers guys Quote Link to comment https://forums.phpfreaks.com/topic/85378-solved-date-coverstion/ Share on other sites More sharing options...
interpim Posted January 10, 2008 Share Posted January 10, 2008 http://us2.php.net/date in your case date("j M Y g A", $row['post_time']); Quote Link to comment https://forums.phpfreaks.com/topic/85378-solved-date-coverstion/#findComment-435611 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.