Skip to content

Explore · time zones

Shanghai to Casablanca converter

China Standard Time (Shanghai) → Morocco Time (Casablanca)

Quick answer

 

The difference changes with daylight saving time. Casablanca is 7 hours behind Shanghai from Jan 1, 2026 to Feb 15, 2026 02:00 UTC (Casablanca on UTC+1); 8 hours behind Shanghai from Feb 15, 2026 02:00 UTC to Mar 22, 2026 02:00 UTC (Casablanca on UTC+0); 7 hours behind Shanghai from Mar 22, 2026 02:00 UTC to Sep 20, 2026 01:00 UTC (Casablanca on UTC+1); 8 hours behind Shanghai from Sep 20, 2026 01:00 UTC to Dec 31, 2026 (Casablanca on UTC+0).

  • Jan 1, 2026 to Feb 15, 2026 02:00 UTC
    Shanghai (CST, UTC+8) → Casablanca (UTC+1)
    Casablanca is 7 hours behind Shanghai
  • Feb 15, 2026 02:00 UTC to Mar 22, 2026 02:00 UTC
    Shanghai (CST, UTC+8) → Casablanca (UTC+0)
    Casablanca is 8 hours behind Shanghai
  • Mar 22, 2026 02:00 UTC to Sep 20, 2026 01:00 UTC
    Shanghai (CST, UTC+8) → Casablanca (UTC+1)
    Casablanca is 7 hours behind Shanghai
  • Sep 20, 2026 01:00 UTC to Dec 31, 2026
    Shanghai (CST, UTC+8) → Casablanca (UTC+0)
    Casablanca is 8 hours behind Shanghai
Swap: Casablanca → Shanghai

9:00 AM CST (UTC+8) in Shanghai is 2:00 AM UTC+1 in Casablanca, the same day. Casablanca is 7 h behind Shanghai.

FormatResultCopy
CasablancaWednesday, January 14, 2026 · the same day2:00 AM +01:00
ISO 8601UTC2026-01-14T01:00:00.000Z
Unix seconds1768352400
RFC 2822UTCWed, 14 Jan 2026 01:00:00 +0000

Conversions use Shanghai (Asia/Shanghai) and Casablanca (Africa/Casablanca). Other cities reached through search aliases may have different historical rules.

Current time in Shanghai and Casablanca

Now in Shanghai
 
Now in Casablanca
 

Hour by hour: Shanghai (CST, UTC+8) → Casablanca (UTC+1)

Both sides are inside 9:00–17:00 from 4:00 PM to 5:00 PM CST (UTC+8) in Shanghai (1 hour).

ShanghaiCasablancaDay
12:00 AM5:00 PMprevious day
1:00 AM6:00 PMprevious day
2:00 AM7:00 PMprevious day
3:00 AM8:00 PMprevious day
4:00 AM9:00 PMprevious day
5:00 AM10:00 PMprevious day
6:00 AM11:00 PMprevious day
7:00 AM12:00 AMsame day
8:00 AM1:00 AMsame day
9:00 AM2:00 AMsame day
10:00 AM3:00 AMsame day
11:00 AM4:00 AMsame day
12:00 PM5:00 AMsame day
1:00 PM6:00 AMsame day
2:00 PM7:00 AMsame day
3:00 PM8:00 AMsame day
4:00 PM9:00 AMsame day
5:00 PM10:00 AMsame day
6:00 PM11:00 AMsame day
7:00 PM12:00 PMsame day
8:00 PM1:00 PMsame day
9:00 PM2:00 PMsame day
10:00 PM3:00 PMsame day
11:00 PM4:00 PMsame day

Hour by hour: Shanghai (CST, UTC+8) → Casablanca (UTC+0)

There is no time when both Shanghai and Casablanca are inside 9:00–17:00.

ShanghaiCasablancaDay
12:00 AM4:00 PMprevious day
1:00 AM5:00 PMprevious day
2:00 AM6:00 PMprevious day
3:00 AM7:00 PMprevious day
4:00 AM8:00 PMprevious day
5:00 AM9:00 PMprevious day
6:00 AM10:00 PMprevious day
7:00 AM11:00 PMprevious day
8:00 AM12:00 AMsame day
9:00 AM1:00 AMsame day
10:00 AM2:00 AMsame day
11:00 AM3:00 AMsame day
12:00 PM4:00 AMsame day
1:00 PM5:00 AMsame day
2:00 PM6:00 AMsame day
3:00 PM7:00 AMsame day
4:00 PM8:00 AMsame day
5:00 PM9:00 AMsame day
6:00 PM10:00 AMsame day
7:00 PM11:00 AMsame day
8:00 PM12:00 PMsame day
9:00 PM1:00 PMsame day
10:00 PM2:00 PMsame day
11:00 PM3:00 PMsame day

Worked examples

WhenShanghaiCasablancaISO 8601 (UTC)Unix
a winter weekday10:00 PM CST (UTC+8), January 14, 20263:00 PM UTC+1, January 14, 20262026-01-14T14:00:00.000Z1768399200
a summer weekday10:00 PM CST (UTC+8), July 15, 20263:00 PM UTC+1, July 15, 20262026-07-15T14:00:00.000Z1784124000
New Year8:00 AM CST (UTC+8), January 1, 202712:00 AM UTC+0, January 1, 20272027-01-01T00:00:00.000Z1798761600

The ISO 8601 and Unix columns are the same instant written without a zone — how APIs and databases should store it. Need this for a whole column? Convert a CSV file.

Shanghai — China Standard Time

IANA identifier
Asia/Shanghai
UTC offset
CST · UTC+8
Daylight saving
Not observed
On this clock today
Beijing, Shanghai, Shenzhen, Guangzhou

Places that share this clock as of 2026-11-13 (tzdata 2026f). Conversions for any date use Asia/Shanghai; a listed place's past or future rules may differ.

All of mainland China uses one zone, UTC+8, with no daylight saving. China abbreviates it CST: in page names and links (CST to …) CST means North American Central Standard Time (Chicago); beside Shanghai's offset this site writes China's own CST (UTC+8), except on pages that pair Shanghai with Central Time, where Shanghai is shown by its offset alone.

Casablanca — Morocco Time

IANA identifier
Africa/Casablanca
Offsets in 2026–2027
UTC+0, UTC+1
On this clock today
Casablanca, Rabat, Marrakesh

Places that share this clock as of 2026-11-13 (tzdata 2026f). Conversions for any date use Africa/Casablanca; a listed place's past or future rules may differ.

Offset changes 2026–2027

  • Feb 15, 2026, 2:00 AM local (2026-02-15 02:00 UTC): clocks go back to UTC+0
  • Mar 22, 2026, 3:00 AM local (2026-03-22 02:00 UTC): clocks go forward to UTC+1
  • Sep 20, 2026, 1:00 AM local (2026-09-20 01:00 UTC): clocks go back to UTC+0

Morocco has changed its rules several times (Ramadan-based shifts, then a permanent change in 2026). The offsets and change dates on this page are computed from the pinned IANA data stated in the footer, not from a fixed rule.

File workspace

Converting a whole column of timestamps?

The free converter handles one value at a time across 82 formats and 92 zones. The file workspace converts an entire CSV column between any two formats and zones, previews the first rows, and leaves unreadable cells exactly as they were.

Offsets and change dates on this page are computed from IANA time zone database 2026f for 2026–2027; the live tool uses the same data.