Day of Week and DaylightSaving
Posted: Thu Oct 08, 2015 8:42 pm
I needed for my project (4 channel timer) automatic summer time and standard time changeover. Even if I use the Internet time (NTP) to synchronize the RTC, I must GMT 01 or GMT 02 send them along. That's why I've written a routine that calculated by the RTC data the switching data.
This is based on an article in Wikipedia for the determination of the day of the week:
https://de.wikipedia.org/wiki/Wochentagsberechnung
From this, the routines "DayOfWeek.fcfx" and "Daylightsaving with DayOfWeek.fcfx" emerged.
This is based on an article in Wikipedia for the determination of the day of the week:
https://de.wikipedia.org/wiki/Wochentagsberechnung
From this, the routines "DayOfWeek.fcfx" and "Daylightsaving with DayOfWeek.fcfx" emerged.