CreateODBCDateTime(date)

Returns a date/time object in ODBC timestamp format.

See also CreateDateTime, CreateODBCDate, CreateODBCTime, and Now.

date

Date/time object in the period from 100 AD to 9999 AD.

Usage

When passing a date/time value as a string, make sure it is enclosed in quotes. Otherwise, it is interpreted as a number representation of a date/time object, returning undesired results.