Use when code stores, compares or displays dates and times: keeps instants in UTC, converts to a time zone only for display, uses the platform's time zone database, and tests daylight-saving transitions, leap days and month ends.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Date Time Handling?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/autonomous-ai-date-time-handling)
---
name: date-time-handling
description: "Use when code stores, compares or displays dates and times: keeps instants in UTC, converts to a time zone only for display, uses the platform's time zone database, and tests daylight-saving transitions, leap days and month ends."
---
Store timestamps as UTC instants and calendar dates as plain dates; they are different things. Never do arithmetic on formatted strings. Inject the clock so tests can fix the time. Test the hour that repeats and the hour that is skipped when clocks change.