SBM ModScript Reference → Programming SBM ModScript → Extension Functions → Ext.DateToDbLong( dateVariant )
Converts the variant date value dateVariant to the long-integer format used in an SBM database.
dateVariant
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.
Returns the long-integer date value.
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.