VMS Help  —  DECdts  utc_asclocaltime, Example
    The following example converts the current time to local time.

    char   localTime[UTC_MAX_STR_LEN];

    /*
     *   Convert the current time...
     */

    utc_asclocaltime(localTime,      /* Out: Converted time          */
                    UTC_MAX_STR_LEN, /* In:  Length of string        */
                    (utc_t*) NULL);  /* In:  Time to convert         */
                                     /*      Default is current time */
Close Help