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
A date object
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


If you have any comments or suggestions about these pages, please send mail to support@fico.com.

© Copyright 2001-2013 Fair Isaac Corporation. All rights reserved.