Time Converter
Convert between Unix timestamps and date-time values with second or millisecond units, time zones, custom formats, Go time formats, RFC3339 and batch input.
Current time
→
→
Help
Convert between Unix timestamps and date-time values with second or millisecond units, time zones, custom formats, Go time formats, RFC3339 and batch input.
Show details
Highlights
- Convert Unix timestamps and readable dates in both directions
- Use custom date formats
- Go time format support
- Switch across time zones
- Batch mode with automatic input detection
Parsing and Conversion Rules
- Inputs are auto-detected as Unix timestamps, date-time strings or common time formats
- Date-time strings use their own timezone or offset first; otherwise the selected input timezone is used
Batch Conversion
- Batch mode processes input line by line and converts each line independently
- Batch mode does not provide a separate input-timezone selector
- Text time with timezone is parsed from the text itself; text time without timezone falls back to the current browser local timezone
Custom Date Format
- Custom formats can be used for both parsing input and formatting output
- Go-style time format is supported
Format and Time Zone
- On Input
- Only date-time string input exposes an input time-zone picker.
- If the text already contains a time zone such as `Z`, `UTC`, `GMT` or `+08:00`, that embedded time zone wins and the input selector is effectively locked.
- If the text has no time-zone information, the selected input time zone is used.
- On Output
- Fixed-zone formats such as `RFC7231` always render in their fixed time zone.
- Variable-zone formats such as `RFC3339` are converted into the selected target time zone before formatting.
- If the chosen format has no time-zone field, the output only shows the time value itself.
Common uses
- Convert between second or millisecond timestamps and readable dates
- Normalize API fields or log timestamps into another format
- Move between UTC, local time and a target time zone
- Batch-convert exported time fields
Notes
- Timezone handling differs by input type and can change the result
- Each line in batch mode is detected and converted independently
