Returns a real number whose integer part represents the number of days since the EPOCH and whose fractional part represents the time value expressed in hours then divided by 24. NOTE: Lucee (and ACF) uses 12/30/1899 00:00:00 as it’s epoch time. See links below.
getNumericDate(arg1)
returns numeric
Name | Type | Required | Default | Description |
---|---|---|---|---|
arg1 | any | Yes | A datetime object or a date-parsable String. |
This numeric date represents the number of days between December 30, 1899 and January 1, 2008.
getNumericDate('2018-01-01')