Daylight saving time with DS3234

mxb

New Member
I'm using the RTC DS3234 with the 28X2 chip.
How do I know the daylight saving time? How do I program the DST to the RTC?
 

hippy

Technical Support
Staff member
You have to handle DST in your program.

The best way in my opinion is to always keep the RTC running on non-DST time then add an extra hour when DST is active.

That does mean that if you need to set the time you have to always program the RTC with a non-DST time which may mean having to subtract an hour from the DST time when DST is active.
 

techElder

Well-known member
... or, how about twice a year you flip a switch labeled "DST" until the time reads correct? After all, DST is for people ... not computers.
 
Top