i want to get client TimeZone name .for ex .if i am changing my timezone to CST it should change in my prgm thru javascript,and then it has to show the TimeZone name and current time also..
Getting client TimeZone name in JavaScript
Collapse
X
-
-
-
not the time.. i want to get the timezone name .. for Ex.. now i am using IST ,if i am changing the India Standard Time to Eastern standad Time it has To change to EST ..Originally posted by acoderComment
-
Make use of getTimezoneOffs et(), toLocaleString( ), etc. to calculate it yourself.Originally posted by praveen1983not the time.. i want to get the timezone name .. for Ex.. now i am using IST ,if i am changing the India Standard Time to Eastern standad Time it has To change to EST ..Comment
-
i dont want a time.. i need a Eastern standard time this name to be changed..when i change my timezone to anotherOriginally posted by acoderMake use of getTimezoneOffs et(), toLocaleString( ), etc. to calculate it yourself.Comment
-
I know you want a timezone name rather than a time. What I'm saying is that you'll have to calculate the name of the timezone using the time.Originally posted by praveen1983i dont want a time.. i need a Eastern standard time this name to be changed..when i change my timezone to anotherComment
-
k.. thank u for ur posts & repliesOriginally posted by acoderI know you want a timezone name rather than a time. What I'm saying is that you'll have to calculate the name of the timezone using the time.Comment
-
I have the similar issue:
I want to get the time zone name from JavaScript and use that in Java.
TimeZone tz =TimeZone.getTi meZone("timezonenamegot fromjavascript");
.
Thanks for your help.
- jdComment
Comment