10-15-2021, 12:11 PM
The way it tracks the times it shouldn't matter, the AM/PM is only for the interface. The actual program uses unix timestamp throughout like this.
https://www.epochconverter.com/
When the controller starts or after a mode runs the system reads all the modes, converts the start/stop seconds to a unix timestamp, sorts them and knows the next schedule to start. Then it just waits for current timestamp to be greater than schedule timestamp.
https://www.epochconverter.com/
When the controller starts or after a mode runs the system reads all the modes, converts the start/stop seconds to a unix timestamp, sorts them and knows the next schedule to start. Then it just waits for current timestamp to be greater than schedule timestamp.