I am making a product add site.i want to do , when someone post a product the product date time store in data dase should be Sydney(austarila) datetime. site hosted on indian server.? how can i do this? can someone help me?
mikesmith76
9:07 am on Dec 12, 2006 (gmt 0)
to set the timezone within your php scripts use putenv('TZ=Australia/Sydney');
any call to the date / time functions should now return your local time rather than indian time