Initializing help system before first use

XPRMtime

XPRMtime


Purpose
Get the current date and time .
Synopsis
void XPRMtime(int *jdn, int *t,int *tz);
Arguments
jdn 
Returned Julian Day Number
Returned current time (in milliseconds)
tz 
Time zone. Possible values are:
XPRM_TIME_LOCAL 
Time is expressed in local time
XPRM_TIME_UTC 
Time is expressed in Coordinated Universal Time (UTC)
Return value
0 if successful, 1 otherwise.
Further information
1. This function returns the current date as a JDN (number of days since 1/1/1970) and a number of milliseconds since midnight. The JDN may be decoded using the function XPRMjdn2date.
2. The date returned by this function can be converted to a Unix time (type time_t) using the expression: jdn*86400+t/1000. Similarly a Windows file time (type FILETIME) can be obtained using: ((__int64)jdn+134774)*864000000000i64+(__int64)t*10000i64).
Related topics

© 2001-2019 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.