SBM ModScript Reference → Programming SBM ModScript → Extension Functions → Ext.DbLongToDate()
Converts the int value to the variant date value format used in an SBM database.
Parameter | Type | Description |
---|---|---|
dateInt |
int |
Use this argument to convert the int date value from the number of seconds since midnight, Jan. 1, 1970 to a Variant storing a date. This is not the same as converting dateInt to a Date using other built-in operators; that conversion interprets dateInt as the number of days since midnight Dec. 31, 1899. Important: See also
Ext.SetCompatibilityVersion().
|
Type | Description |
---|---|
Variant |
The variant 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.