CDateFromIso Function [Runtime]

From LibreOffice Help
Jump to: navigation, search

Returns the internal date number from a string that contains a date in ISO format.

Syntax:

CDateFromIso(String)

Return value:

Internal date number

Parameters:

String: A string that contains a date in ISO format. The year may have two or four digits.

Error Codes

5 Invalid procedure call

Example:

dateval = CDateFromIso("20021231")

returns 12/31/2002 in the date format of your system