lewis987 Posted July 21, 2007 Share Posted July 21, 2007 can someone please post something that uses date() that determines if it is AM or PM? i cant think of any way on how to do it Link to comment https://forums.phpfreaks.com/topic/61152-solved-how-to-make-a-php-script-determine-if-it-is-am-or-pm/ Share on other sites More sharing options...
Hypnos Posted July 21, 2007 Share Posted July 21, 2007 echo date("A"); Or do you mean from a stored time? Link to comment https://forums.phpfreaks.com/topic/61152-solved-how-to-make-a-php-script-determine-if-it-is-am-or-pm/#findComment-304344 Share on other sites More sharing options...
lewis987 Posted July 21, 2007 Author Share Posted July 21, 2007 thanks, worked for what i needed it to. Link to comment https://forums.phpfreaks.com/topic/61152-solved-how-to-make-a-php-script-determine-if-it-is-am-or-pm/#findComment-304345 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.