Function note

A date as text takes at most two digits for month and day

FUNC.DATEVALUE · FUNC.VALUE

FN-VALUE-002: A date as text takes at most two digits for month and day

Quirk · measured · recorded 2026-11-04

In a three-part numeric date, leading zeros are not free. VALUE("2024/02/01") is 45323, but VALUE("2024/02/001") and VALUE("2024/002/01") are #VALUE!, and so is any month or day of three or more digits in the 45 forms read. A year of one, two or four digits is read: "1/2/1" and "1/02/01" are 2001-02-01, "24/2/1" is 2024-02-01, while "0001/2/1" is #VALUE!. Month 0 and day 0 give #VALUE!. The same limit holds with hyphens: "2024-02-001" through VALUE, and "2024-002-01" and "2024-02-001" through DATEVALUE, are #VALUE!. The settings of this run are en-ZA: decimal point, space as thousands separator, year-month-day date order.

Call and input routeInputsExcelCorrect valueRecorded in
=VALUE("2024/02/01")
formula-literal
As typed45323
0x40e6216000000000
—Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA
=VALUE("2024/02/001")
formula-literal
As typed#VALUE!—Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA
=VALUE("2024/002/01")
formula-literal
As typed#VALUE!—Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA
=VALUE("1/2/1")
formula-literal
As typed36923
0x40e2076000000000
—Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA
=VALUE("24/2/1")
formula-literal
As typed45323
0x40e6216000000000
—Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA
=VALUE("0001/2/1")
formula-literal
As typed#VALUE!—Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA
=VALUE("2024/02/0")
formula-literal
As typed#VALUE!—Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA
=VALUE("2024-02-001")
formula-literal
As typed#VALUE!—Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA
=DATEVALUE("2024-002-01")
formula-literal
As typed#VALUE!—Excel 16.0.20527.20088, Windows, bitness and CPU not recorded in this reading file

Basis: 45 recorded VALUE readings covering year, month and day tokens of one to five digits, and 2 DATEVALUE readings.

Open: Three-digit years were not read.

Open: Other date orders and locales were not read.

Evidence and capture sources

Machine-readable note records