FUNCTION REFERENCE

exceltime

Excel serial date number.

Excel serial date number.

Syntax

x = exceltime(t)

Syntax

x = exceltime(t, '1904')

Days since 0-Jan-1900 in the 1900 system, which counts the nonexistent

29-Feb-1900, so dates from 1-Mar-1900 are one day higher; or days since

1-Jan-1904 in the 1904 system.

Example

x = exceltime(datetime(2024, 1, 1))   % 45292

Differences from MATLAB: None known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.