Format | Value |
---|---|
UTC | 2025-06-19 17:40:50 |
ISO 8601 | 2025-06-19T17:40:50+08:00 |
RFC 822 | Thu, 19 Jun 2025 09:40:50 GMT |
RFC 3339 | 2025-06-19T17:40:50+08:00 |
Time Unit | Seconds |
---|---|
1 Hour | 3600 Seconds |
1 Day | 86400 Seconds |
1 Week | 604800 Seconds |
1 Month (30.44 days) | 2629743 Seconds |
1 Year (365.24 days) | 31556926 Seconds |
A Unix timestamp is a numeric value representing the number of seconds elapsed since January 1, 1970 (UTC). It's widely used in programming and databases.
This tool helps you convert Unix timestamps to human-readable dates or convert datetime to Unix timestamps effortlessly.
Learn how to perform conversions in Excel, JavaScript, or using our online converter below.
Explore More Tools: Online Password Generator | Power to weight ratio converter | QR Code Generator
Excel doesn't natively support Unix timestamps, but you can convert them using simple formulas.
JavaScript makes it easy to convert between dates and Unix timestamps using the Date object.
// Date to Unix timestamp
let timestamp = Math.floor(new Date().getTime() / 1000);
console.log(timestamp);
// Unix timestamp to date
let date = new Date(timestamp * 1000);
console.log(date.toLocaleString());
Our online tool allows you to input a Unix timestamp or datetime and instantly get the converted result.
A Unix timestamp is the number of seconds since January 1, 1970, 00:00:00 UTC, also known as the Unix epoch.
Use the formula `=(A1/86400)+DATE(1970,1,1)` where A1 is the cell with the timestamp, then format as a date.
Use `Math.floor(new Date('YYYY-MM-DD').getTime() / 1000)` to get the Unix timestamp in seconds.
Yes, adjust the datetime output to your desired time zone using Excel's time zone settings or JavaScript's toLocaleString() with options.
Unix timestamps are standardized, compact, and widely supported for storing and comparing dates in programming.