Dates look like the simplest data your app handles, until a booking moves by an hour, a daily report quietly misses a day, or a reminder lands at three in the morning for a customer in another country. Time bugs are hard to spot because they do not show up while you test. They wait for the night the clocks change, or for your first customer in a different time zone.
Store one time, show local time
The rule developers follow is simple: save every moment in the database in one universal time, called UTC, and convert it to the viewer's local time only when you show it on screen. An app that stores "9:00" without saying whose 9:00 cannot tell a customer in Paris from one in New York. Fixing that later means guessing what every old record meant, so it is worth getting right from the first table.
Tell your AI: "Store all dates and times in UTC, convert them to each user's time zone only when displaying them, and tell me anywhere we currently save a time without its zone."
Test the two awkward nights
In the EU the clocks change on the last Sunday of March and the last Sunday of October, and in the US on different weekends. On those nights an hour either does not exist or happens twice. A reminder set for 2:30 that night, a subscription renewing at midnight, a report counting "today": each of them can fire twice, never, or at the wrong time.
Tell your AI: "Write tests for our scheduled tasks and bookings on the nights the clocks change in Europe and the US, and fix anything that runs twice, never, or at the wrong hour."
Say whose time you mean
Wherever a customer sees or picks a time, show the zone next to it, and let them set their own in their profile rather than guessing from the browser every time. When something does slip through, you want to hear about it from your own alerts, not from an annoyed customer, which is the whole case for error monitoring.
Tell your AI: "Show the time zone next to every time a customer sees, add a time zone setting to the user profile, and use it for emails and reminders."