Rebelrebellious Posted May 16, 2008 Share Posted May 16, 2008 What is the difference? Link to comment https://forums.phpfreaks.com/topic/105897-gmstrftime-vs-gmdate/ Share on other sites More sharing options...
Rebelrebellious Posted May 16, 2008 Author Share Posted May 16, 2008 Please. Anybody? Link to comment https://forums.phpfreaks.com/topic/105897-gmstrftime-vs-gmdate/#findComment-543088 Share on other sites More sharing options...
jacksonmj Posted May 16, 2008 Share Posted May 16, 2008 The only differences appear to be the codes for the formatting string, and whether or not it respects the current locale setting. For example: <?php setlocale(LC_TIME, 'fr_FR'); echo gmdate("M d Y H:i:s") . "<br>"; echo gmstrftime("%b %d %Y %H:%M:%S"); gives the output: May 16 2008 20:06:30 mai 16 2008 20:06:30 Link to comment https://forums.phpfreaks.com/topic/105897-gmstrftime-vs-gmdate/#findComment-543097 Share on other sites More sharing options...
Rebelrebellious Posted May 16, 2008 Author Share Posted May 16, 2008 So they are both GMT, but date is english only. Thank you. Link to comment https://forums.phpfreaks.com/topic/105897-gmstrftime-vs-gmdate/#findComment-543123 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.