Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Daylight Savings Time
#5

The clock hasn't changed since the last change around 0330 so it's good now. Don't know why it was switching back and forth. That was strange for sure.

And Werk was the one who configured my time zone info in a post a while back so I'm pretty sure it's ok.

For what it's worth here's the code.

Code:
// --------------------------------------------------------------------------------------
//   Define rules for Auto Summer Time Display, and clock adjustment
// --------------------------------------------------------------------------------------
// Example for Australia Eastern Time Zone (Sydney, Melbourne)
// TimeChangeRule aEDT = {"AEDT", First, Sun, Oct, 2, 660};    //UTC + 11 hours
// TimeChangeRule aEST = {"AEST", First, Sun, Apr, 3, 600};    //UTC + 10 hours
// Timezone myTZ(aEDT, aEST);

TimeChangeRule usEDT = {"USEDT", Second, Sun, Mar, 11, -240};   //UTC - 4 hours
TimeChangeRule usEST = {"USEST", First, Sun, Nov, 5, -300};    //UTC - 5 hours
Timezone myTZ(usEDT, usEST);
Reply


Messages In This Thread
Daylight Savings Time - by danner - 05-11-2017, 08:22
RE: Daylight Savings Time - by danner - 05-11-2017, 09:17
RE: Daylight Savings Time - by danner - 05-11-2017, 09:38
RE: Daylight Savings Time - by AllanG - 05-11-2017, 11:32
RE: Daylight Savings Time - by danner - 05-11-2017, 12:16
RE: Daylight Savings Time - by hornychz - 05-11-2017, 12:26
RE: Daylight Savings Time - by werk_ag - 05-11-2017, 16:19
RE: Daylight Savings Time - by danner - 06-11-2017, 01:18
RE: Daylight Savings Time - by danner - 06-11-2017, 01:28
RE: Daylight Savings Time - by werk_ag - 06-11-2017, 01:55
RE: Daylight Savings Time - by danner - 06-11-2017, 02:30
RE: Daylight Savings Time - by werk_ag - 06-11-2017, 03:34
RE: Daylight Savings Time - by danner - 07-11-2017, 12:55
RE: Daylight Savings Time - by werk_ag - 07-11-2017, 15:56
RE: Daylight Savings Time - by danner - 07-11-2017, 23:12
RE: Daylight Savings Time - by hornychz - 07-11-2017, 23:45
RE: Daylight Savings Time - by danner - 08-11-2017, 03:58
RE: Daylight Savings Time - by werk_ag - 12-11-2017, 01:50



Users browsing this thread: 1 Guest(s)