DateTime
Resolve explicit instants, interpret date phrases, and format named-zone time locally.
Runs in your browser
Runs in this browser. Input is not sent to a utility provider.
Input limits
- Each date, zone, or custom-format value is limited to 256 characters.
Formatted output
Advanced Usage
Natural-language interpretation
This optional mode interprets one English phrase relative to the displayed source zone and the current clock. The resolved ISO instant is shown before formatting:
- tomorrow at 3pm
- next friday at noon
- 2 days ago at 9:30 AM
- Wednesday June 15, 2022, 1:11 PM
Quick Tips
- • Use Current clock for a fixed-clock conversion.
- • Local named-zone mode provides a date/time picker.
- • Use ISO-8601 with an offset for an exact instant.
- • Named-zone gap and fold times are rejected, not guessed.
- • A custom format is optional; presets remain available.
Format Characters
| Character | Description | Example |
|---|---|---|
| Y | Full year (4 digits) | 2024 |
| y | Year (2 digits) | 24 |
| m | Month (01-12) | 01 |
| n | Month (1-12) | 1 |
| d | Day of month (01-31) | 15 |
| j | Day of month (1-31) | 15 |
| H | Hour 24h format (00-23) | 15 |
| h | Hour 12h format (01-12) | 03 |
| i | Minutes (00-59) | 52 |
| s | Seconds (00-59) | 01 |
| A | AM/PM | PM |
| T | Timezone abbreviation | UTC |
| P | Timezone offset (+00:00) | +00:00 |
| O | Timezone offset (+0000) | +0000 |
| D | Short weekday name | Mon |
| l | Full weekday name | Monday |
| M | Short month name | Jan |
Example tasks
- Convert Unix seconds or milliseconds to an ISO instant and a named-zone display.
- Use the browser date/time picker to resolve one local wall time in an IANA zone, then format the instant in another zone.
- Interpret one English date phrase relative to the current clock while displaying the resolved instant.
What this tool does not prove
- Natural-language input is an interpretation, not a portable timestamp; use ISO-8601 with an explicit offset when the instant must be exact.
- Named-zone gap and fold times are rejected rather than guessed. Supply an explicit ISO offset to choose a repeated occurrence.
- Formatting does not prove when an event occurred or which civil-time rules another system used.