Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

XL.Book.SetDate1904

Sets the date system mode.

Component Version macOS Windows Linux Server iOS SDK
XL 7.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.Book.SetDate1904"; bookRef )   More

Parameters

Parameter Description Example
bookRef The reference to the workbook. Please use XL.LoadBook to load a file. $ref

Result

Returns OK or error.

Description

Sets the date system mode.

Pass 1 for 1904 date system, 0 for 1900 date system (default).
In the 1900 date base system, the lower limit is January 1, 1900, which has serial value 1.
In the 1904 date base system, the lower limit is January 1, 1904, which has serial value 0.

See also

This function checks for a license.

Created 22nd April 2017, last changed 22nd April 2017


XL.Book.SetCalcMode - XL.Book.SetDefaultFont