Returns
the number of days since the epoch began, given a valid date string.
Parameters
Parameter
|
Description
|
d
|
A valid date string.
|
ExamplesThe
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
|
|
|
|