Current Unix Timestamp
Convert to Date
Common Formats
Example Timestamps
| Format Character | Description | Example |
|---|---|---|
| Y | 4-digit year | 2023 |
| m | 2-digit month | 01-12 |
| d | 2-digit day | 01-31 |
| H | 24-hour format | 00-23 |
| i | Minutes | 00-59 |
| s | seconds | 00-59 |
| More Formats | Please refer to PHP date() function documentation | |
| Timestamp | Date Time | Description |
|---|---|---|
| 0 | 1970-01-01 08:00:00 | Unix epoch start (Beijing time) |
| 1769875200 | 2026-02-01 00:00:00 | Today midnight |
| 1769356800 | 2026-01-26 00:00:00 | This Monday midnight |
| 1769875200 | 2026-02-01 00:00:00 | This month first midnight |
| 1767196800 | 2026-01-01 00:00:00 | This year first midnight |
Convert Date to Timestamp
Convert date string to timestamp, supports multiple date formats
Supported Date Formats
- Y-m-d H:i:s(Standard Format)
- Y-m-d(Short Date)
- m/d/Y H:i:s(US Format)
- d/m/Y H:i:s(European Format)
- Y-m-dTH:i:sP(ISO 8601)
World Clock
View real-time time in different time zones around the world, click on a time zone to see detailed information
Unix Timestamp Introduction
What is Unix Timestamp?
Unix timestamp, also known as Epoch time or POSIX time, is a system for describing points in time. It is defined as the number of seconds that have elapsed since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.
Timestamp Types
10-digit Timestamp (Seconds)
Represents the number of seconds since 1970-01-01 00:00:00 UTC. Used in most programming languages and systems.
13-digit Timestamp (Milliseconds)
Represents the number of milliseconds since 1970-01-01 00:00:00 UTC. Commonly used in JavaScript and modern web applications.
Why 1970 January 1st?
This date was chosen as the "Unix Epoch" because it was a round number and the Unix operating system was developed in the early 1970s. It became the standard reference point for time representation in computing.
Advantages of Using Timestamps
✓ Simple and clear, easy to calculate
✓ No timezone issues
✓ Easy to store and transmit
✓ Widely supported in programming languages
✓ Easy to sort and compare
✓ High performance, efficient calculations
✓ Standardized format, strong compatibility
✓ High precision, avoids date ambiguity
Friendly Links
We have established friendly cooperation with the following excellent websites