A common strategy to resolve these problems in computer systems is to express time using the Coordinated Universal Time (UTC) rather than the local time zone.
What time system do some computer systems use to avoid the issues of changes in local time?
Coordinated Universal Time