473,403 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Timezones & Daylight saving - Javascript

2
Hi,

I have a system that allows ppl to set up and join online meetings. Currently, I just ask the guy organizing a meeting to submit his timezone and whether its in DST or not on the date of the meeting, and just show that to everyone along with the date and time of the meeting.

What I would ideally like to do, is show everyone the date and time of every meeting in THEIR timezone. I think I've pretty much figured out how to use Javascript to find out the timezone offset for a user and show him the right time. What I cant yet figure out, is to determine, given a future date for a meeting, whether that future date will have DST adjustments or not for the user's timezone.

Is there any simple way to do this, apart from hardcoding all the DST rules for all the geographies in the world into my code?

Thanks!
Ram
Feb 8 '06 #1
2 3105
ramkum
2
I forgot to mention, I use ASP, not ASP.NET
Feb 8 '06 #2
acoder
16,027 Expert Mod 8TB
When using the Date object in JavaScript, the local DST settings are already applied, so it shouldn't be a problem with the offset.
Jun 22 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Symon R | last post by:
This is a bit of a weird one that I haven't yet been able to solve - I'm hoping someone out there can disprove my findings and tell me where I've gone wrong! I have designed a web service that...
13
by: Michael | last post by:
I would like to set the timezone of a thread to allow me to calculate the UTC time for data sourced from a number of time zones. Although this can be done in C and C++, I annot find how to do...
1
by: Drew | last post by:
Is there a way to check if it is daylight savings or not via c#? I have heard you can use System.Globalization? Thanks - Drew
4
by: Martijn van Oosterhout | last post by:
Hi, The operating system I run (Linux) comes with many, many timezone files for many different places in the world. For example: $ TZ='Australia/Sydney' date Fri Oct 8 06:15:31 EST 2004 $...
1
by: dbee | last post by:
So I can't figure out what exactly is going wrong here ... I'm using php4.3 I'm accessing a server in Dublin from Seoul. I need to be able to translate times into various timezones across the...
1
by: luke_airig | last post by:
I'm not sure if this is the right group for this posting. If not, please accept my apologies. I have been tasked with identifying and correcting application code that will be affected by the...
27
by: Sanjay | last post by:
Hi All, I am using pytz.common_timezones to populate the timezone combo box of some user registration form. But as it has so many timezones (around 400), it is a bit confusing to the users. Is...
0
by: robtyketto | last post by:
I will try to explain this as clearly as possible, here goes:- I'm working on an university assignment to design an electronic proof of delivery document for a firm which has customers over...
27
by: RobG | last post by:
I was investigating a function to determine whether daylight saving was being observed on a particular date (given the platform's regional settings) and came across a suggestion at merlyn.com to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.