Date-to-Days-from-1900

Returns the number of days since Jan. 1, 1900 inclusive.The value returned is negative if the date is before 1900.

Syntax

date-to-days-from-1900 (date_exp | datetime_exp)

Example

date-to-days-from-1900 (1998-03-20)

Returns the result: 35873