4dsystems 0 Report post Posted October 26, 2006 Help! Guys! I have a php script which shows me the time and I think the server time set differently. Is there any way I can change my individual time zone. It looks very odd on the web page. I am using the Indian Standard Time. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted October 26, 2006 Check in the Php Language Topic. There is a calendar / yahoo thread which discusses how to mod the time relative to the server time. Buffalohelp is the original poster on that thread if it helps. Share this post Link to post Share on other sites
Plenoptic 0 Report post Posted October 26, 2006 If you can't find that, I found a tutorial you can use. http://www.purephotoshop.com/ It shows the many different ways you can post the time and date. <?php date('D M j G:i:s T Y'); ?> The T in the code is the time zone you can type in. I don't know exactly if it changes the time according to that time zone though. You might have to test it. Also I don't know how much of the date and time you want to show. This page has a chart explaining what all the letters show. http://www.phpspot.com/tutorials/index.php?id=1 Share this post Link to post Share on other sites
4dsystems 0 Report post Posted October 26, 2006 Thanks Guys that have been very helpful... I have set my time right now! Thanks a ton! Share this post Link to post Share on other sites
BuffaloHelp 24 Report post Posted October 26, 2006 Topic resolved: now closed.If you would like to continue this discussion please PM a moderator. Share this post Link to post Share on other sites