Comments on: Auto detect a time zone with JavaScript https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/ building stuff on the web with Josh Fraser Mon, 30 Aug 2021 15:28:00 +0000 hourly 1 By: Pascal https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/comment-page-3/#comment-74744 Mon, 30 Aug 2021 15:28:00 +0000 https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/#comment-74744 Your link to “a more robust solution” no longer works.

]]>
By: Charlie Macarthy Owusu https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/comment-page-3/#comment-74731 Tue, 21 Aug 2018 14:04:00 +0000 https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/#comment-74731 Hi, does this mechanism support all countries?

]]>
By: kiquenet kiquenet https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/comment-page-3/#comment-74711 Thu, 22 Mar 2018 08:27:00 +0000 https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/#comment-74711 Now, in 2018 ?

]]>
By: Sneha Jain https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/comment-page-3/#comment-74681 Thu, 12 Oct 2017 14:33:00 +0000 https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/#comment-74681 Hey, Thanks for sharing this blog. Could you please help me regarding my mobile application Astrosum.

]]>
By: Reenal Rana https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/comment-page-3/#comment-74631 Wed, 28 Dec 2016 19:21:00 +0000 https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/#comment-74631 Hi Josh, My form accepts the time in UTC format from 3 different countries of different time zones and displays the local time in reports in 3 different countries after the form is submitted. Now I want my system to take the time in local time zone from all the 3 different countries and display the local time zone everywhere. How can I do this?

]]>
By: Sampada Sharma https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/comment-page-3/#comment-74611 Tue, 27 Sep 2016 12:06:00 +0000 https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/#comment-74611 Thanks for this useful blog

]]>
By: kalai https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/comment-page-2/#comment-74601 Thu, 15 Sep 2016 07:02:00 +0000 https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/#comment-74601 hi is there any possiblties if i change the device time but i need to show current time programatically in mobile device

]]>
By: David R Tribble https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/comment-page-2/#comment-74541 Thu, 28 Apr 2016 18:14:00 +0000 https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/#comment-74541 A positive DST difference indicates the Eastern hemisphere (East of GMT), not the Southern hemisphere.

]]>
By: David R Tribble https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/comment-page-2/#comment-74531 Thu, 28 Apr 2016 18:11:00 +0000 https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/#comment-74531 You code to produce a time in June of the current year is wrong:
var june1 = new Date(rightNow.getFullYear(), 6, 1, 0, 0, 0, 0);

You should instead use 5 instead of 6 for the month of June. Your code is calculating DST for July (which is probably still okay).

]]>
By: Gary Rumain https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/comment-page-2/#comment-74501 Sun, 01 Nov 2015 07:32:00 +0000 https://onlineaspect.com/2007/06/08/auto-detect-a-time-zone-with-javascript/#comment-74501 In reply to Josh Fraser.

Well, it happened again this year. This time I took snapshots. You can find them in this comment –

http://pislamonauseacentral.tumblr.com/post/132300082839/%e1%b9%83issing-syrian-migraine-boy-azam-found-in#comment-2337364444

So it seems that Disqus has some issues with the time on its servers.

]]>