CSV Date Format Converter
Every date in one format — and the ones that could mean two days are flagged, not guessed.
Try before you buy.
- Free preview: every count and problem of each column, and the first converted rows (up to 10).
- Locked until you unlock it: download and copy.
- Unlock: Pro pass, ₹179 for 30 days or ₹79 for 1 week, a one-time payment that never renews. Unlock: Pro pass, $5.99 for 30 days or $2.99 for 1 week, a one-time payment that never renews.
Ways to unlock shows how to get the full result.
Printing this result is locked in the free preview.
1. Your dates
Your file
A CSV, TSV or Excel file with one or more date columns.
Or paste the table (from Excel, Google Sheets or a CSV)
2. How to read them
30 is Excel’s rule: 00–29 are 2000–2029.
3. Write them as
YYYY YY · MMMM MMM MM M · DD D · dddd ddd · HH H hh h · mm · ss · SSS · A a · Z · [any text]
Date columns
Converted dates
Paste dates or open a file: the converted dates appear here, and every date that could not be converted is listed with its reason.
The converted rows
Not converted, or worth a look
| Row | Column | Value | Why |
|---|
CSV file options
Locked in the free preview. Opens the ways to unlock this result.
Locked in the free preview. Batch runs unlock with a pass.
Locked in the free preview. Query results unlock with a pass.
About the CSV Date Format Converter
Paste a list of dates or open a CSV or Excel file, and write every date in the format you need: ISO 8601 (2024-03-04), day first (04/03/2024), month first (03/04/2024), with month names (4 March 2024), as an RFC 3339 timestamp with its time zone, as a Unix timestamp, or as an Excel serial number in the 1900 or 1904 date system. The tool reads dates written in all those ways, also with times, AM and PM, time zones, weekdays, two-digit years and month names in other languages.
A date like 03/04/2024 is 3 April in most of the world and March 4 in the United States, and nothing in the value says which. So the tool never guesses: each column’s order comes from its own values that can be read only one way (25/03/2024 is day first), and when a column has none, its ambiguous values are flagged and left as they are until you choose. Real dates in Excel cells are read as the dates they are. Every value that is not converted is listed with its row and the reason. Everything runs in your browser; nothing is uploaded.
How to use it
- Paste dates, one per line, under A list of dates — or choose A CSV or Excel file and open it.
- Check How to read them: how numbers in date columns are read (Excel serial numbers, Unix seconds or milliseconds), two-digit years, month names of another language, and the time zone of values that do not state one.
- Choose the format under Write them as, whether to keep times, and the time zone to write times in.
- For a file, check Date columns: the order each column was read in and why, and which columns to convert. Choose an order where a column can be read both ways.
- Read the problems list, then download the file as CSV or Excel, or copy the dates — with a Pro pass, or after unlocking this result; without one the page shows a free preview.
Examples
25/03/2024, 04/03/2024, 01/02/2024
2024-03-25, 2024-03-04, 2024-02-01
25/03/2024 can only be day first, so the column is read that way.
40729 (Excel, 1900 system) · 1709547330 (Unix seconds)
2011-07-05 · 2024-03-04 10:15:30 (UTC)
Microsoft gives 40729 as 5 July 2011 in the 1900 date system; the 1904 system counts the same day as 39267.
2024-03-04 10:15, read as Asia/Kolkata
2024-03-04T04:45:00Z in UTC (RFC 3339)
Common uses
- Turning DD/MM/YYYY dates from an Indian, British or European system into ISO 8601 for a database or an API.
- Fixing a CSV whose dates Excel shows as numbers like 45355, or a 1904-system workbook from an old Mac whose dates are four years off.
- Converting Unix timestamps in a log or analytics export into readable dates in your time zone, or the reverse.
- Finding the rows of a file where day-first and month-first dates are mixed up before a report is built on them.
- Writing dates with month names for a letter, an invoice list or a mail merge.
Day first or month first: never guessed
Numeric dates whose first two numbers are both 12 or less can be read two ways. The tool counts, per column, the values only one order allows: a column with 25/03/2024 is day first; one with 03/25/2024 is month first. Values like 03/04/2024 in such a column are read in that order. A column with no such value is undecided: its dates are flagged as “can be read day first or month first” and left as they are until you choose the order for that column (or for all columns). A column that has both kinds is mixed: each value one order allows is read that way, and the others are flagged. Year-first dates (2024/03/04), ISO 8601 and month names are never ambiguous.
Excel serial numbers
Excel stores a date as the number of days since its starting point. In the 1900 date system, the default of Excel for Windows and of current Excel for Mac, 1 is 1 January 1900; in the 1904 date system of earlier Excel for Mac, 0 is 1 January 1904, and the same date is 1,462 days lower (Microsoft: date systems in Excel). Excel also counts a 29 February 1900 that never existed, kept for compatibility with Lotus 1-2-3 (Microsoft): serial 60 is that day, so the tool flags it rather than shifting it. A fraction is the time of day: .5 is noon. When you download Excel, converted dates can be written as real date cells.
Two-digit years
Two-digit years follow Excel’s rule by default: 00 to 29 are 2000 to 2029, and 30 to 99 are 1930 to 1999 (Microsoft: how Excel works with two-digit year numbers). Change the cut-off under How to read them for files with other conventions, such as birth dates.
Time zones
Values with a zone (2024-03-04T10:15:30+05:30, …Z, GMT+5:30) and Unix timestamps are moments in time; values without one are wall-clock times. Values without a time zone are in gives the zone such times were recorded in; Write times in converts every moment to another zone, using the time zone rules your browser carries, daylight saving time included. A time that does not exist in a zone (the hour the clocks jump forward) is moved forward and flagged; a time that happens twice (the hour the clocks go back) takes the first and is flagged. Formats that need a zone — RFC 3339 and Unix time — read values without one as UTC, and say so. Abbreviations such as IST or CST name several zones, so values that use them are flagged.
Formats you can write
- ISO 8601: 2024-03-04, 2024-03-04T10:15:30 (with the zone when it is known), RFC 3339 2024-03-04T10:15:30+05:30.
- Numeric: 04/03/2024, 03/04/2024, 04.03.2024, 04-03-2024, 2024/03/04.
- With month names: 4 March 2024, March 4, 2024, 04-Mar-2024, 04 Mar 2024 — in English or another language.
- Numbers: Unix seconds and milliseconds, Excel serials in the 1900 and 1904 systems.
- Your own pattern from YYYY, YY, MMMM, MMM, MM, M, DD, D, dddd, ddd, HH, H, hh, h, mm, ss, SSS, A, Z and [text in brackets].
Limitations
- Text files up to 100 MB and workbooks up to 50 MB, as far as your device’s memory allows; the page shows the first 200 rows, and the files have all of them.
- Plain numbers are read as dates only in columns named like dates (date, created, dob, created_at …): by their size, five digits as an Excel serial and ten or thirteen as a Unix timestamp, or as you choose under how numbers are read. Columns of amounts, years or counts are never turned into dates unless you tick them.
- Dates before the year 1 and calendars other than the Gregorian one are not read.
- Time zone abbreviations such as IST, EST or CST are not read, because each names more than one zone: choose the zone instead.
Privacy
On this device: nothing is sent
Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.
Frequently asked questions
What do I get without a pass?
Without a pass, CSV Date Format Converter shows every count and problem of each column, and the first converted rows (up to 10). Until you unlock it, the result can’t be downloaded or copied. A Pro, Premium or Ultimate pass, a one-time payment that never renews, unlocks the full result. The pricing page lists the passes and their prices.
How do I convert DD/MM/YYYY to YYYY-MM-DD for a whole column?
Open the file, choose ISO 8601 date under Write them as, and check that the column was read day first under Date columns (choose it there if the column could be read both ways). Then download the file.
Why are some of my dates not converted?
The problems list says why for each one: it can be read day first or month first and the column does not show which, it is not a real date (31 February), it uses a time zone abbreviation, or it is not a date at all. Choose the column’s order to convert the ambiguous ones.
Excel shows my dates as 45355 — what are they?
Excel serial numbers: days since the start of Excel’s date system. In the 1900 system 45355 is 4 March 2024. In a column named like a date (Date, Created, DOB …) the tool reads such five-digit numbers by itself; for a column with another name, choose Excel serial — 1900 date system under how numbers are read and tick the column under Date columns.
Does it change times between time zones correctly?
Yes, with the IANA time zone rules your browser uses, daylight saving time included. Times that fall in a clock change are flagged in the problems list.
Do I need a pass?
To download or copy the converted dates, yes: a Pro pass unlocks every Pro tool. Without a pass you see a free preview of your own data: every count and problem of each column, and the first converted rows.
Is my data uploaded?
No. It is read and converted in your browser, on your device.