Beijing timestamp conversion
🕒 Convert timestamp to date
💡 Instructions for use
- The two input boxes can be filled in at the same time: "Timestamp → Date" for timestamp, "Date → Timestamp" for date and time, and the results will be output in order.
- The unit is automatically recognized and judged by digits: 10 digits are regarded as seconds and 13 digits are regarded as milliseconds; you can also manually lock the unit to avoid treating milliseconds as seconds.
- Time zone conversion includes daylight saving time rules. London, Paris, New York, and Los Angeles will automatically shift by one hour during daylight saving time.
- The date supports three writing methods: 2024-01-01 08:00:00, 2024/01/01 08:00 and 2024-01-01. The default time is partially filled with 00:00:00.
Beijing timestamp conversion sets the display time zone to Beijing (UTC+8): This is the time caliber agreed between the domestic system and users, and there is no daylight saving time adjustment throughout the year.
Characteristics of East Eighth District
China uniformly uses Beijing time, the offset is fixed at UTC+8, and does not implement daylight saving time, so the conversion rule is simple: Beijing time = UTC time plus 8 hours. This is different from the situation in parts of Europe and North America where clocks are adjusted twice a year.
Compare with other regions
| area | Difference from Beijing time |
|---|---|
| Tokyo | +1 hours |
| singapore | 0 |
| London (winter time) | -8 hours |
| New York (Daylight Saving Time) | -12 hours |
When holding meetings or making announcements across time zones, it is recommended to provide both Beijing time and UTC at the same time to avoid conversion errors by the other party. There are not many time zones in China, and daily schedules in places like Xinjiang are late, but timestamps and time zones are still processed according to unified rules.
The commonly used time zone in China is the East Eighth District, which does not implement daylight saving time, so the offset is fixed throughout the year. When doing domestic business, the conversion rules are simple and not easy to make mistakes.
If the data comes from other time zones, it should be converted to East Eighth District before displaying. Directly displaying the time in the original time zone will make users mistakenly think that the recording occurred in local time.
The time zone drop-down box defaults to Beijing, and there is no need to switch in most scenarios.
📖 Glossary
- Unix timestamp
- The number of seconds elapsed since 1970-01-01 00:00:00 UTC, regardless of time zone, the same instant in any time zone is the same value.
- UTC
- Coordinated Universal Time is the world's unified time base; the local time of each time zone is obtained from its offset.
- time zone
- Time zones on the earth divided by longitude, for example, Beijing time is UTC+8 and New York time is UTC-5.
- daylight saving time
- The system of moving clocks forward one hour in summer in some areas will affect London, Paris, New York and other places. The conversion needs to be judged based on the date.
- Second level timestamp
- Timestamp in seconds, usually 10 digits, for example 1735689600.
- Millisecond timestamp
- A timestamp in milliseconds, usually a 13-digit number equal to the timestamp in seconds multiplied by 1000.
- ISO 8601
- International standard date and time writing, in the form of 2025-01-01T00:00:00.000Z, with Z at the end representing UTC.
- timestamp overflow
- The 32-bit system uses signed integers to store second-level timestamps. The upper limit corresponds to 2038-01-19. If it is exceeded, it will overflow, so the new system uses 64-bit instead.
- local time
- The time displayed according to the local time zone; the same timestamp displays different local times in different time zones.
- timestamp precision
- Second-level precision is used in most businesses; front-end JavaScript often gives milliseconds, while logs and databases mostly give seconds.
🔗 All keywords and tutorials
❓ FAQ
- Is there daylight saving time in Beijing time??
- No. China has no longer implemented daylight saving time since the 1990s, and UTC+8 is fixed throughout the year.
- How much faster is Beijing time than UTC??
- Almost 8 hours. UTC time plus 8 hours is Beijing time.