Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem