The Xiveillance system logs data from remote IoT sensors at regular intervals.  Each one of these readings has a timestamp against it, which is stored in our database.


Twice yearly in the UK, the clocks change.  During the winter months the UK clocks coincide with Coordinated Universal Time (UTC), but in the summer the clocks are advanced and are 1 hour ahead.  In practical terms, this means that when the clocks "go forward", typically towards the end of march, we "loose" an hour.  And similarly, towards the end of October we "gain" an hour as the clocks go back.


So what does that mean for a continuous monitoring system?


Raw Readings Data


Data in our system is always stored in UTC time so that we can a continuous predictable time base all through the year.  This means that there are no gaps in the data, and the the time between data packets is always accurate.


Displaying Data


All data in our system is displayed in UK time, and all screens will accurately translate the times into local UK time before presenting it on the screen.


This means that when the clocks go forward, there will not be any readings between 01:00-02:00 am, and when the clocks go back, there will be 2 sets of readings covering 01:00-02:00 am.  Because the underlying data is stored correctly in UTC, the readings will still be displayed in the correct sequence, so it's easy to understand what your assets are actually doing.  This is best illustrated with the Asset Dashboard:


Here is the March time change, notice that the time skips the missing hour:

Here is the October time change, notice that the extra hour is inserted:



Alarms


Immediate Alarms that trigger as soon as a threshold is breached will still trigger, and will email out at the relevant time with all the dates translated into UK time.


Target Alarms that group data up over a period of time though need to (and do) correctly take into account the time changes as you would expect.  This means that the length of time that Alarm reviews before triggering can vary if it occurs over the time change.  A good example is an Alarm that triggers at midnight, and looks back over the last "day".  For example:


Here is a daily alarm triggering on the March time change, where a "day" actually means 23 hours:


Here is a daily alarm triggering on the October time change, where a "day" actually means 25 hours: