<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->$locale = setlocale(LC_ALL,'gv_GB');<br />echo strftime("%Z - %H:%M:%S");<!--c2--></div><!--ec2--><br />output: EST - 11:32:17<br /><br />The above code doesn't seem to affect the time, i've tried various settings instead of gv_GB but so far none seem to work, however this one seems to be recognised the time just remains in EST<!--content-->
Try GMT.<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->putenv("TZ=GMT");<br />echo date("F d, Y @ g:i A T");<!--c2--></div><!--ec2--><br />works for me in a quick test.<!--content-->
Try GMT.<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->putenv("TZ=GMT");<br />echo date("F d, Y @ g:i A T");<!--c2--></div><!--ec2--><br />works for me in a quick test.<!--content-->