Use this routine to get the UNC time (GMT) from the Time and Frequency Division of the National Institute of Standards and Technology (NIST).
perform "_mhgetnisttime"
dummyu1=$51
The result is formatted as: d/m/yyyy h:mm:ss. (eg: 7/1/2002 4:07:09
).
This value will be acurate regardless of the client computer's clock or any other network clock.
Notes:
This function is available for all Windows and Unix platforms supported by Uniface.
The official web site of NIST is: http://www.boulder.nist.gov/timefreq/
This service should not be used to measure frequency or time interval.
Alternative Signature Definition (Uniface 7.2/8.2):
int getnisttime(unsigned char *nisttimestr)
$Revision: 1.7 $ $Date: 2011/02/28 02:56:32 $ | [go to top] |