Calculating daylight saving time automatically

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi guys,

I have to make a event signup page for our company that would display
the event time/date in 3 different time zones (Eastern - New York,
Central - Chicago, and Pacific - San Francisco). To do this. I convert
the inputed date from local time zone and convert it into UTC and store
it in the database (correct me if I'm wrong please). Next to display it
I would add the correct time zone difference value (-5 for Eastern).
How to do I handle the daylight saving time though? For example the -5
Eastern time is right now -4. Is there a way to do this automatically?
Any samples would be greatly appreciated.


Thanks
M.

.



Relevant Pages

  • Re: DST in Windows
    ... So I go back into the Date/Time applet, ... Then I hit the Time Zone tab and change to ... In the meantime use tzedit again and look at the ""Eastern Daylight ... If I manually do the re-application of time zone, and display the ...
    (microsoft.public.windowsxp.general)
  • Re: Daylight Savings Time shift still broken in Entourage 11.3.3/11.3.4; Mac OS 10.4.7
    ... display problem for new events. ... Since you've discovered that yourEntouragewas set to an incorrect time ... incorrect time zone, I would think you'll need to manually adjust each ... I had this same problem before Apple released its Panther DST update ...
    (microsoft.public.mac.office.entourage)
  • Re: Calculating daylight saving time automatically
    ... I have to make a event signup page for our company that would display ... I would add the correct time zone difference value. ... How to do I handle the daylight saving time though? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Time zone jumping
    ... I live in the same time zone as London, England and so have my display ... the display clock ...
    (alt.os.linux.suse)
  • Re: Time Zone and DateTime voes.
    ... I recommend storing, calculating, and manipulating times in UTC. ... it comes time to display the time to the end user then convert to the ... mistakes made in converting to the local time zone aren't as critical ...
    (microsoft.public.dotnet.general)