Timezone
A region where a uniform local time is observed. The timezone defines how many hours the local time differs from Coordinated Universal Time (UTC).
Why in AI
- Correct time labels in logs and responses;
- Scheduling tasks;
- Displaying dates in the appropriate locale.
Example
The same moment in different timezones:
UTC: 18:00
Europe/Moscow: 21:00
America/New_York: 14:00
How Time is Stored
- In databases — usually in UTC, without offset;
- When displaying to the user — convert to their timezone;
- In API — transmit with timezone or offset indication.