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.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

XL.Date.TimeStampToDouble

Converts a date to a numeric value for writing in a number cell.

Component Version macOS Windows Linux Server iOS SDK
XL 5.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.Date.TimeStampToDouble"; bookRef; timeStamp )   More

Parameters

Parameter Description Example
bookRef The reference to the workbook. Please use XL.LoadBook to load a file. $ref
timeStamp The time, date or time stamp to convert. Get ( CurrentTimeStamp )

Result

Returns value or error.

Description

Converts a date to a numeric value for writing in a number cell.
This uses current time zone.

Examples

Convert current timestamp:

MBS( "XL.Date.TimeStampToDouble"; $bookRef; Get ( CurrentTimeStamp ))

See also

Blog Entries

This function checks for a license.

Created 6th February 2015, last changed 6th February 2015


XL.Date.Pack - XL.Date.UnPack

💬 Ask a question or report a problem