PC Review


Reply
Thread Tools Rate Thread

code to allow for daylight settings

 
 
David
Guest
Posts: n/a
 
      15th Oct 2009
I am looking at code to extrapolate current data into the future to predict
events (obviously this cannot be an exact science!)
Estimated event time will be given as date and time of day
I thought of the scenario where the extrapolation spans a daylight settings
time change (eg: Sun 25-Oct-09 01:00) clocks go back 1 hour in UK.
With an extra hour in the calendar I would like to adjust my event
prediction accordingly.
No problem to write code using specific times and dates, but I wondered if
there is a way in code to detect system daylight settings (ie:GMT, GMT + 1,
etc) and use this as criteria for adjustment?
Any advice will be appreciated
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
detect timezone & daylight saving time settings programmatically Bill Nguyen Microsoft VB .NET 4 28th Nov 2006 05:45 PM
Re: Daylight Savings settings. Jerold Schulman Microsoft Windows 2000 Group Policy 0 22nd Jul 2004 03:13 PM
Sample Code For Daylight Savings Adjustment? Tim Houle Windows XP Embedded 10 17th Jun 2004 03:28 AM
Calendar/Pocket PC Daylight Savings Settings Microsoft Outlook Calendar 0 18th Mar 2004 02:02 AM
Daylight settings using script or GPO Alerrandro Microsoft Windows 2000 Group Policy 1 30th Jan 2004 04:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:12 PM.