Rebelrebellious Posted May 16, 2008 Share Posted May 16, 2008 What is the difference? Quote Link to comment Share on other sites More sharing options...
Rebelrebellious Posted May 16, 2008 Author Share Posted May 16, 2008 Please. Anybody? Quote Link to comment 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 Quote Link to comment 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. 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.