| VMS Help DECdts, utc_mkvmslocaltime, Example, /********* *Conan The Librarian | 
   start example mkvmslocaltime
  *********/
 #include <utc.h>
 main()
 {
 char outstring[UTC_MAX_STR_LEN];
 struct utc utcTime;
 int vmsTime[2];
 SYS$GETTIM(vmsTime);                      /* read current time      */
 if (utc_mkvmslocaltime(&utcTime,vmsTime)) /* convert the local time */
     exit(1);                              /* vmsTime to UTC using   */
                                           /* the system tdf.        */
|  |