jeret Posted February 11, 2012 Report Share Posted February 11, 2012 Hi is it possible to change date & time format in the PHP.ini file to reflect to this format : dd-mm-yyyy and time to 12 hrs instead of 24 hrs. When i run a date time php script in the browser i get this format: mm-dd-yy and time 24 hrs. I would like to change the output as mentioned above. The php script i used was : <?php print strftime ('%c'); ?> Any help would be much appreciated. Thx. Quote Jeret Christopher WEB DESIGNER Link to comment Share on other sites More sharing options...
MicroMonkey Posted February 12, 2012 Report Share Posted February 12, 2012 http://php.net/manual/en/function.date.php 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.