SBM ModScript Reference → Programming SBM ModScript → Extension Functions → Ext.DateToDbLong()
Converts the variant date value date to the int format used in an SBM database.
Parameter | Type | Description |
---|---|---|
date |
Variant |
Use this parameter to convert the variant date value to the number of seconds since midnight, Jan. 1, 1970. This is not the same as converting date to an int using other built-in operators; that conversion yields the number of days since midnight Dec. 31, 1899. Important: See also
Ext.SetCompatibilityVersion().
|
Type | Description |
---|---|
Variant |
Returns the int date value. |
SBM ModScript version: 11.3.
Use TimeT or TimeMillis as the preferred way to interact with dates.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.