Welcome Guest, Not a member yet? Register   Sign In
I'm on the east coast, my database (mysql) server is on the west. How do we resolve our differences?
#2

[eluser]obiron2[/eluser]
you can get your (the client PC) timezone using javascript

Code:
<!--
var tzo=(new Date().gettimezoneOffset()/60)*(-1);
// -->

and if you are using PHP5 you can get the server offset using

timezone_offset_get()

and you should be able to work out the difference from there.


Messages In This Thread
I'm on the east coast, my database (mysql) server is on the west. How do we resolve our differences? - by El Forum - 08-21-2007, 03:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB