Author Topic: Daylight Saving Time  (Read 2007 times)

Paul_Sharrock

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
Daylight Saving Time
« on: September 21, 2011, 12:18:46 am »
In order to set the datetime of the Omnipro, it needs to know the daylight saving time status, however, this field is not available within the date time device.

Has anyone written a function to calculate the daylight saving time status, or John is it feasible for this to be added to the date&time device.

Paul

Paul_Sharrock

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
Re: Daylight Saving Time
« Reply #1 on: September 21, 2011, 04:48:20 am »
For the time being until someone can come up with a better solution I have added some additional programming lines on my omnipro to set a flag on or off if DST is enabled. I have then used this flag to make the call to update the date time from within ELVE.

A better solution would be prefered though.

Paul

John Hughes

  • Administrator
  • Hero Member
  • *****
  • Posts: 2852
    • View Profile
    • Codecore Technologies
Re: Daylight Saving Time
« Reply #2 on: September 21, 2011, 05:21:38 pm »
I added an IsDaylightSavingsTime property to the DateTime device.

Thanks for the suggestion.
John Hughes
Codecore Technologies