IsoDate2Num

Returns the number of days since the epoch began, given a valid date string.

Syntax

IsoDate2Num(d)

Parameters

Parameter

Description

d

A valid date string.

Examples

The following expressions are examples of using the IsoDate2Num function:

Expression

Returns

IsoDate2Num("1900")

1

IsoDate2Num("1900-01")

1

IsoDate2Num("1900-01-01")

1

IsoDate2Num("19960315T20:20:20")

35138

IsoDate2Num("2000-03-01") - IsoDate2Num("20000201")

29

// Ethnio survey code removed