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, 2022 in Others by Kichu
• 19,040 points
593 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, 2022 by narikkadan
• 63,600 points

Related Questions In Others

+1 vote
1 answer

Between cyber security and CCNA profession which one is best in terms of time to become an expert and salary payment

CCNA professional is more inclined towards the ...READ MORE

answered Dec 18, 2019 in Others by Pri
2,086 views
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
1,638 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

reopened Nov 12 by Neelam 3,321 views
0 votes
1 answer
0 votes
1 answer
0 votes
0 answers

How to get the Australian Time Zone using Javascript?

I am trying to help a friend ...READ MORE

Jul 19, 2022 in Web Development by gaurav
• 23,260 points
1,244 views
0 votes
1 answer

Convert GMT to IST (India Standard Time) using javascript?

You can specify an IANA time zone ...READ MORE

answered Nov 7, 2022 in Java by Damonlang
• 700 points
20,619 views
0 votes
1 answer

Average TIME Calculation differs between Excel and PowerBI

They are calculating different things. In Power ...READ MORE

answered Sep 21, 2022 in Others by narikkadan
• 63,600 points
3,501 views
0 votes
1 answer

Calculate time difference in hours between two dates and times

Simply subtract the two dates to get ...READ MORE

answered Nov 4, 2022 in Others by narikkadan
• 63,600 points
1,536 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP