Differentiate between Tokyo and Seoul Time zone

0 votes
both have the same Offset and not DST offset.

I am using java script to calculate the offsets. Also looked at parsing the string to get the name of time zone and it doesnt work so how do you differentiate between the two
Feb 10 in Others by Kichu
• 16,850 points
27 views

1 answer to this question.

0 votes
if DST and Offset are the only info  and they are the same in both circumstances then you  wont be able to differentiate them You should not rely on Date's toString() or toTimeString(), they are specified to be implementation-dependent.
or you should try to  determine the user's geolocation (based on IP address) or provide the user with a list of regions / areas in his or her time zone to choose from
answered Feb 11 by narikkadan
• 7,860 points

Related Questions In Others

+1 vote
1 answer
0 votes
0 answers
0 votes
1 answer

What is the difference between hadoop and google analytics ?

I will try and answer this as ...READ MORE

answered Aug 22, 2018 in Others by Frankie
• 9,830 points
714 views
0 votes
0 answers

Mention the difference between Data Driven Testing and Retesting?

Retesting:  It is a process of checking ...READ MORE

Feb 1, 2019 in Others by riya

closed Feb 1, 2019 by Omkar 1,428 views
0 votes
1 answer

Presenting docket dtates inside html page by javascript

Use the Docker Engine Api:Docker Engine API ...READ MORE

answered Jun 20, 2018 in Docker by DareDev
• 6,890 points
196 views
0 votes
1 answer

Migrating proxy npm repo in nexus 3

I don't think you can achieve this ...READ MORE

answered Jun 22, 2018 in DevOps Tools by DareDev
• 6,890 points
769 views
+1 vote
1 answer

What is the difference between JavaScript and Java

This quote rightly explains that 2 totally ...READ MORE

answered Jun 29, 2018 in Java by Daisy
• 8,120 points
230 views
0 votes
1 answer

Difference between <meta name="title"> tag and <title></title> tag

<title> This will be displayed in the ...READ MORE

answered Feb 26 in Others by narikkadan
• 7,860 points
65 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP