DateTime to Epoch Converter
Free datetime to epoch converter. Convert any date and time to Unix timestamp format. Perfect for developers and database work.
Convert any date and time into a Unix epoch timestamp. Enter a human-readable date and get the corresponding seconds (or milliseconds) since January 1, 1970 UTC.
Current Unix time
—
Date and time → timestamp
- Unix timestamp (seconds)
1767225600- Milliseconds
1767225600000- ISO 8601 (UTC)
2026-01-01T00:00:00.000Z- UTC offset used
- +00:00
Timestamp → date and time
Thursday, January 1, 2026 at 12:00:00 AM
UTC — UTC
Read as seconds
| Format | Value |
|---|---|
| ISO 8601 (UTC) | 2026-01-01T00:00:00.000Z |
| ISO 8601 (UTC) | 2026-01-01T00:00:00Z |
| RFC 2822 / HTTP | Thu, 01 Jan 2026 00:00:00 GMT |
| Seconds | 1767225600 |
| Milliseconds | 1767225600000 |
Unix time counts seconds since 1970-01-01 00:00:00 UTC and ignores leap seconds. 32-bit signed timestamps overflow on 2038-01-19 at 03:14:07 UTC (2147483647).
Common use cases
- Developers creating API requests with timestamps
- Database engineers inserting time data
- System administrators scripting scheduled tasks
- Data scientists preparing time-series datasets
- QA testers validating timestamp handling
How to use
- Enter the date using the date picker
- Enter the time if needed
- Select the timezone of your input
- Choose output format (seconds or milliseconds)
- Copy the epoch timestamp
FAQ
Should I use seconds or milliseconds?
Most systems use seconds, but JavaScript and some APIs use milliseconds. Check your system's requirements.
Does this account for my timezone?
Yes, select your timezone and the converter adjusts the epoch accordingly.
What about dates before 1970?
Dates before January 1, 1970 produce negative epoch values, which are valid Unix timestamps.
Related tools
- Unix Timestamp ConverterFree Unix timestamp converter. Bidirectional conversion between epoch time and dates. Essential developer…
- RFC 3339 Date ConverterFree RFC 3339 date converter. Convert dates to internet standard timestamp format. Perfect for API…
- Weekends Between Dates CalculatorFree weekends between dates calculator. Count Saturday and Sunday days in any date range. Perfect for…
- Timezone ConverterFree timezone converter. Convert times between any world timezones instantly. Perfect for international…
- Business Days CalculatorFree business days calculator. Count working days between dates excluding weekends and holidays. Essential…
- Day of Week FinderFree day of week finder. Discover what day any date falls on—past, present, or future. Perfect for planning…