Initializing help system before first use

# getasnumber

Purpose
Convert a date, time or datetime into a number.
Synopsis
`function getasnumber(d:date):integer`
`function getasnumber(t:time):integer`
`function getasnumber(dt:datetime):real`
Arguments

d | A date object
t | A time object
dt | A datetime object

Return value
The numerical representation of the argument.
Further information
A date is converted to an integer Julian Day Number (number of days since 1/1/1970 at midnight). This function returns an integer number of milliseconds for a time and a real number of seconds for a datetime. This number represents the number of seconds and milliseconds (as the fractional part of the number) since 1/1/1970 at midnight.
Module
mmsystem
Parent Topic Procedures and functions

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.