Country & language

Sets the currency, units and country-specific rules (tax, VAT, salary) in calculators. General tools stay the same.

Pages that are not translated yet open in English.

↑ ↓ to move · Enter to open · Esc to close

Epoch Converter

Paste a 10-digit (seconds) or 13-digit (milliseconds) value – the unit is detected for you – and pick a time zone to see the local clock as well as UTC. Switch direction to turn a Dubai, Riyadh or London date and time into a timestamp.

Quick answer: A Unix timestamp counts the seconds since 00:00:00 UTC on 1 January 1970. 1700000000 is Tuesday, November 14, 2023, 22:13:20 UTC – which is already Wednesday, November 15, 02:13:20 in Dubai (UTC+4) – and 1700000000000 in milliseconds is the same moment.

Updated · Free · No sign-up

Epoch Converter inputs

Seconds or milliseconds – detected automatically. Empty = now.
Gulf countries keep the same offset all year; London, New York and Cairo change for daylight saving.

Result

Timestamp read as the current time

Tuesday, December 1, 2026, 10:26:03 UTC

ISO 86012026-12-01T10:26:03.941Z
UTC stringTue, 01 Dec 2026 10:26:03 GMT
Unix seconds1796120763
Unix milliseconds1796120763941
Relative to now
now
Day of the week (UTC)
Tuesday

How Unix time is defined

POSIX – the IEEE 1003.1 standard behind Linux, macOS and most server software – defines the Epoch as 00:00:00 UTC on 1 January 1970 and “seconds since the Epoch” as a count in which every day is exactly 86,400 seconds. That single rule explains everything else on this page: a timestamp is the same number everywhere in the world, it has no time zone, and leap seconds simply do not exist in it.

timestamp = days since 1970-01-01 × 86,400 + hours × 3,600 + minutes × 60 + seconds (all in UTC)  ·  local time = UTC + zone offset

Worked examples

1700000000 → a date in UTC and in Dubai

1,700,000,000 ÷ 86,400 = 19,675 whole days with 80,000 seconds left. Day 19,675 after the Epoch is 14 November 2023, and 80,000 seconds is 22 h 13 min 20 s, so the instant is 2023-11-14T22:13:20Z, a Tuesday. Dubai is 4 hours ahead, which takes the clock past midnight: in the UAE it is Wednesday, November 15, 02:13:20. A log entry stamped 1700000000 belongs to the 15th in a Dubai office report, not the 14th.

Midnight in Dubai → a timestamp

To get the timestamp for the start of UAE National Day, choose “Date and time → Unix timestamp”, enter 2 December 2026 00:00 and pick Dubai. Local midnight is 20:00 UTC on 1 December, so the answer is 1796155200. Entering the same clock time with UTC selected would give a timestamp 14,400 seconds (4 hours) too late – the most common bug in Gulf reporting jobs that run “at midnight”.

2147483647 → the 32-bit limit

The largest signed 32-bit number is 03:14:07 UTC on Tuesday, January 19, 2038 – 08:14:07 in Karachi. Old embedded devices, file formats and databases that still store time in 32 bits overflow one second later.

Gulf and expat time zones at a glance

WhereOffsetAdd to UTC1700000000 shows as
UTCUTC+00 sTue 14 Nov 2023, 22:13:20
Saudi Arabia, Qatar, Kuwait, BahrainUTC+310,800 sWed 15 Nov 2023, 01:13:20
UAE, OmanUTC+414,400 sWed 15 Nov 2023, 02:13:20
PakistanUTC+518,000 sWed 15 Nov 2023, 03:13:20
India, Sri LankaUTC+5:3019,800 sWed 15 Nov 2023, 03:43:20
PhilippinesUTC+828,800 sWed 15 Nov 2023, 06:13:20

None of these countries changes its clocks, so the offsets hold all year. London (UTC+0 in winter, +1 in summer), New York and Cairo do change, which is why the converter looks the offset up for the exact instant: 1775000000 is 23:33:20 UTC on 31 March 2026 but 00:33:20 on 1 April in London, where summer time had started.

What changes the result

  • Seconds or milliseconds. Unix tools, PHP, Python and most databases use seconds; JavaScript, Java and many web APIs use milliseconds. The converter reads values of 100 billion or more as milliseconds and always prints both forms.
  • The zone of the input. When turning a date into a timestamp, the same clock time gives a different number in every zone. Pick the zone the time was written in, not the one you are in.
  • Daylight saving gaps. In zones that move their clocks, some local times never happen – 01:30 in London on 29 March 2026 is skipped – and the converter says so instead of guessing.
  • Leap seconds. The 27 leap seconds since 1972 are not counted, so subtracting two timestamps gives calendar seconds, not atomic-clock seconds. The last one was on 31 December 2016; in October 2026 the CGPM decided that UTC will add none after 20 May 2027, bringing forward the 2035 target it set in 2022.
  • Range. JavaScript dates – and this converter – cover ±8.64 quadrillion milliseconds, up to 13 September 275760.

Common mistakes

  • Reading milliseconds as seconds, or the reverse. 1700000000 read as milliseconds is 20 January 1970; 1700000000000 read as seconds is tens of thousands of years ahead.
  • Adding the offset twice. If a library already returns Dubai time, adding 14,400 seconds again pushes events 4 hours late.
  • Storing local time as if it were UTC. A Riyadh server writing 09:00 local as “09:00Z” is three hours wrong. Store UTC (or the timestamp) and convert only for display; RFC 3339 strings with an explicit offset such as 2026-11-23T09:00:00+04:00 avoid the ambiguity.
  • Using a fixed offset for a zone with summer time. London is not always UTC+0 and Cairo is not always UTC+2; let the time zone database decide.

When to dig deeper

For payroll cut-offs, attendance systems, banking files or legal deadlines in the Gulf, confirm which zone the source system writes in and whether it records seconds or milliseconds before you trust a conversion – a wrong offset moves events across midnight and into a different working day. If you maintain software that stores time in 32 bits, plan the move to 64-bit time well before 2038.

Frequently asked questions

Is my timestamp in seconds or milliseconds?

Today a timestamp has 10 digits in seconds (1700000000) and 13 in milliseconds (1700000000000). The converter reads any value of 100,000,000,000 or more as milliseconds; the largest value it reads as seconds, 99999999999, is the year 5138.

How do I convert a Unix timestamp to UAE or Saudi time?

Add 4 hours (14,400 seconds) for the UAE and Oman, or 3 hours (10,800 seconds) for Saudi Arabia, Qatar, Kuwait and Bahrain – none of them uses daylight saving. 1700000000 is 02:13:20 in Dubai and 01:13:20 in Riyadh on Wednesday, November 15, 2023.

Why does my timestamp convert to January 1970?

A millisecond value is being read as seconds somewhere else, or seconds were divided by 1,000 twice. 1700000000 milliseconds is only 1,700,000 seconds – Tuesday, January 20, 1970, 16:13:20 UTC – instead of November 2023.

What is the Unix timestamp for midnight in Dubai?

Midnight in Dubai is 20:00 UTC the evening before. Midnight starting 2 December 2026 (UAE National Day) is 1796155200, which is 2026-12-01T20:00:00Z; the same instant is 23:00 in Riyadh.

Are Unix timestamps affected by time zones?

No. A timestamp names one instant for the whole world; only the clock reading shown for it changes. 1767225600 is 00:00 UTC on 1 January 2026, 04:00 in Dubai and 05:30 in India.

What is the year 2038 problem?

A signed 32-bit integer can hold at most 2147483647, which is 03:14:07 UTC on Tuesday, January 19, 2038 (08:14:07 in Pakistan). One second later such a counter wraps to a negative number; systems using 64-bit time are not affected.

Do Unix timestamps count leap seconds?

No. POSIX treats every day as exactly 86,400 seconds, so the 27 leap seconds added since 1972 are not in the count. The last one was on 31 December 2016, and the IERS has confirmed there will be none at the end of 2026. In October 2026 the CGPM decided that UTC will run without leap seconds from 20 May 2027.

When do timestamps reach 11 digits?

In seconds, 9999999999 is Saturday, November 20, 2286, 17:46:39 UTC, so 10-digit second timestamps last until then. Millisecond timestamps stay at 13 digits until the same moment.

What changed

  • – Leap seconds updated: UTC becomes continuous on 20 May 2027 under Resolution 5 of the 28th CGPM, replacing the earlier “by 2035” target.
  • – Page fully reviewed: the converter now shows local time in any of 55 time zones (Gulf zones included, daylight saving handled) and turns a local date and time into a timestamp; key numbers, scenarios and a Gulf offset table added.
  • – The 28th General Conference on Weights and Measures (Resolution 5) decided that UTC will run without leap seconds from 20 May 2027, bringing forward the 2035 target set in 2022.
  • – IERS Bulletin C 72: no leap second at the end of December 2026; TAI − UTC stays at 37 seconds.
  • – The 27th General Conference on Weights and Measures (Resolution 4) decided to widen the allowed gap between UTC and Earth rotation by or before 2035, ending the regular insertion of leap seconds.
  • – The most recent leap second was inserted at 23:59:60 UTC; Unix time, which ignores leap seconds, did not count it.

Sources

Last reviewed: · Reviewed by Chelsea, CalcBright's animated guide, for the CalcBright editorial team · How we check our numbers