SpinTheMic
Pro

Interview practice question

Hourly report broken by daylight saving

Data Engineering · Python · Intermediate

Your hourly report for US customers shows a missing hour in March and a doubled hour in November. What's going on?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Daylight saving time skips an hour in spring and repeats one in autumn.
  • Local time arithmetic creates gaps and duplicates.
  • Do calculations in UTC and convert to local only for display.
  • Use zoneinfo to handle the transitions correctly.
  • Label repeated hours clearly in reports.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics