UTC vs local time
Distinguish an instant from a calendar date and a local scheduled time.
Use this when Dates shift by a day or recurring times move unexpectedly around daylight-saving changes.
without the term
“Birthdays show a day early for some users, and the 9am reminder fires at 8am after the clocks changed. Can you fix our dates and times?”
with the term · How do you ask a model for UTC vs local time?
Model these values as instants, dates, or zoned local schedules. Test daylight-saving gaps, overlaps, and users in different zones.
What is UTC vs local time?
An instant is an exact moment, stored in UTC. A calendar date, such as a birthday, has no time zone. A local schedule, such as 9am every Monday in Paris, needs a time-zone rule.
Why does UTC vs local time matter when vibe coding?
One timestamp type cannot express every calendar meaning correctly.
How do you do UTC vs local time?
Choose the value’s meaning first, then its storage format and conversion boundary.
What goes wrong with UTC vs local time?
Turning a birthday into a UTC instant and later rendering it on another date.