djbuddhi Posted September 24, 2009 Share Posted September 24, 2009 hey guys i want to display current time like the following format 08 September 2009 03:14:38 PM what is the command for this Link to comment https://forums.phpfreaks.com/topic/175309-php-date-08-september-2009-031438-pm-help/ Share on other sites More sharing options...
corbin Posted September 24, 2009 Share Posted September 24, 2009 date Link to comment https://forums.phpfreaks.com/topic/175309-php-date-08-september-2009-031438-pm-help/#findComment-923922 Share on other sites More sharing options...
djbuddhi Posted September 24, 2009 Author Share Posted September 24, 2009 there are some parts to put in the date function Link to comment https://forums.phpfreaks.com/topic/175309-php-date-08-september-2009-031438-pm-help/#findComment-923927 Share on other sites More sharing options...
BillyBoB Posted September 24, 2009 Share Posted September 24, 2009 This is straight from the link above: <?php // Assuming today is March 10th, 2001, 5:16:18 pm, and that we are in the // Mountain Standard Time (MST) Time Zone $today = date("F j, Y, g:i a"); // March 10, 2001, 5:16 pm ?> Link to comment https://forums.phpfreaks.com/topic/175309-php-date-08-september-2009-031438-pm-help/#findComment-923929 Share on other sites More sharing options...
djbuddhi Posted September 24, 2009 Author Share Posted September 24, 2009 thx Link to comment https://forums.phpfreaks.com/topic/175309-php-date-08-september-2009-031438-pm-help/#findComment-923944 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.