time
| time | 
  Purpose
 
  
  Synopsis
 
 void time(XPRMcontext ctx,int *jdn, int *t,int *tz);
 
  Arguments
 
 | 
     ctx 
     | 
     Mosel's execution context
     | ||||
| 
     jdn 
     | 
     Returned Julian Day Number
     | ||||
| 
     t 
     | 
     Returned current time (in milliseconds)
     | ||||
| 
     tz 
     | 
     Time zone. Possible values are:
     
 | 
  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
 jdn2date.
 
 
 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
 
  
