Date and time · date formatsExcel serial number to date and back

Excel stores a date as a day number: 45000 is 15 March 2023, and the fraction is the time of day. Paste a number from a cell to get the date and time; enter a date to get the number. Both date systems, 1900 and 1904, and the 29 February 1900 that never existed.

Calculated in your browser — values are never sent anywhere
01Converter02How it works03Values04Mistakes05Questions06Other formats07Related
01

Converter

both ways — paste a value or a date
Value → date
Date system
Wednesday2023-03-15 18:00:00
ISO 86012023-03-15T18:00:00
in the other system43538.75
Date → value
serial in the 1900 system45000.75
serial in the 1904 system43538.75
02

How the format works

part by part, on an example
About the format

A date in Excel is an ordinary number in a cell formatted as a date. The whole part is the day count from the epoch, the fraction is the share of the day: 0.5 is noon, 0.75 is 6 pm. That is why dates can be subtracted (you get days) and added to numbers.

By default the count starts on 1 January 1900, which is day 1. Excel treats 1900 as a leap year — Lotus 1-2-3 did, and compatibility was kept. Serial 60 is 29 February 1900, a day that never happened, and every date before 1 March 1900 is off by one.

The second system is 1904, where 0 is 1 January 1904. Old Excel for Mac used it, and it lives on in workbooks with “Use 1904 date system” ticked. The same date is 1462 lower there — hence dates that jump four years when copied between workbooks.

Part by part45000
45000
whole part — the day number: 15 March 2023
.75
fraction — share of the day: 0.75 × 24 = 18 hours
1900
date system: day 1 is 1 January 1900
How to do it yourself
=DATE(2023,3,15)a date from year, month and day — the cell holds 45000
=TEXT(A1,"dd.mm.yyyy")the number as a text date for export
=INT(A1)the day number without the time — a date cell is that number
=MOD(A1,1)*24the time from the fraction, in hours
03

What it looks like

values you meet in practice
ValueWhat it is
11900-01-01 00:00:00
601900-02-29 00:00:00 — does not exist
611900-03-01 00:00:00
255691970-01-01 00:00:00
450002023-03-15 00:00:00
45000.752023-03-15 18:00:00
29584659999-12-31 00:00:00
04

Common mistakes

05

Frequently asked

Because an Excel date is a number: the count of days since 1 January 1900, with the time as the fraction. You see the number when the cell is formatted as General or Number — common after pasting from another program or exporting to CSV. Nothing is broken: apply a Date format and 45000 becomes 15 March 2023 again.
06

Other formats

FILETIME134355024000000000RFC 2822Sat, 03 Oct 2026 14:30:00 +0300UnixUnix time: seconds and milliseconds since 1970 →HubAny date in every format at once →

Updated

«» added to favorites