Ext.DateToDbLong( dateVariant )


Converts the variant date value dateVariant to the long-integer format used in an SBM database.



Use this argument to convert the variant date value to the number of seconds since midnight, Jan. 1, 1970. This is not the same as converting dateVariant to a long integer using other built-in operators; that conversion yields the number of days since midnight Dec. 31, 1899.

Return Values

Returns the long-integer date value.

Related Topics