GetNumericDate

Returns a real number whose integer part represents the number of days since the Lucee Server's Epoch (default: December 30, 1899) and whose fractional part represents the time value expressed in hours then divided by 24

GetNumericDate( arg1 )

Returns: Number

Argument Description
arg1
any, required

A datetime object or a date-parsable String.

Examples

dd=now();
	dump(getNumericDate('11/10/1992'));
	dump(getNumericDate(dd));

See also