Convert Unix Timestamp to CST (China Standard Time)

All of mainland China uses UTC+8 (called CST locally - confusingly same abbreviation as US Central). No daylight saving.

Right now in CST

2026-04-28 06:13:48 GMT+8

Current UTC offset: +08:00 · UTC equivalent: 2026-04-27 22:13:48 UTC

Sample Conversions

Unix TimestampNoteCST Time
1706745600 Sample timestamp 2024-02-01 08:00:00 GMT+8
1577836800 New Year 2020 2020-01-01 08:00:00 GMT+8
1704067200 New Year 2024 2024-01-01 08:00:00 GMT+8

How to Convert in Code

Python

from datetime import datetime
from zoneinfo import ZoneInfo
dt = datetime.fromtimestamp(1706745600, ZoneInfo('Asia/Shanghai'))
print(dt)

JavaScript (with Intl)

new Date(1706745600 * 1000).toLocaleString('en-US', {
  timeZone: 'Asia/Shanghai'
})

PHP

$dt = new DateTime('@1706745600');
$dt->setTimezone(new DateTimeZone('Asia/Shanghai'));
echo $dt->format('Y-m-d H:i:s T');

No Daylight Saving

This zone does not observe daylight saving - the offset shown above is constant year-round. That makes it slightly easier to reason about than zones that shift, but you should still store timestamps as Unix epoch.

Related Timezones (Asia)

Need the full converter? Open the Timestamp Converter →