I am a software developer, and I am testing a DateTime converter right now. I need to see if the conversion works when a timezone is transitioning from daylight saving time to its standard time at the last possible timeframe in the transition day, i. e 23:00 to 00:00 happens twice, the former with DST on, and the latter with ST on. Is there ever such an occurrence in the future or past? Is there such a dataset I can query this specifically?

  • 2
    $\begingroup$ @Fred It doesn't matter where I am, I am interested in all timezones at all times the calendar exists. Your explanation is true for most European countries but the world is a bigger place. According to my findings, there are 68 past such occurrences, the latest of which is in 2010. I will send it as an answer when I have more time. $\endgroup$
    – Nae
    Jul 6, 2021 at 13:08
  • 3
    $\begingroup$ You say DateTime, which makes us think .NET - if so, this is a complete aside, but consider using a library like NodaTime or JodaTime (if Java). It's almost certain to have thought of and covered far more corner-cases than your home-rolled solution will have. If you really care about accurate time management across many time zones and many countries, you really can't beat a library (unless this component development is purely an academic exercise you're taking on for its own merits). $\endgroup$
    – J...
    Jul 6, 2021 at 19:22

1 Answer 1


Per Wikipedia, several countries switch to daylight savings time at midnight. Time jumps from midnight to 1:00 AM in these countries on the date of the switch to daylight savings time. Only Chile, Iran, Lebanon, Palestine, Paraguay, and Syria switch back to standard time at midnight. Time jumps from midnight to 11:00 PM in these countries on the date of the switch from daylight savings time to standard time.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.