Copyright Digital Equipment Corp. All rights reserved.

Example

   The following example converts the current time to GMT format.

   char   gmTime[UTC_MAX_STR_LEN];

   /*
    *   Convert the current time to ASCII in the following format:
    *
    *          1991-04-01-12:27:38.37I2.00
    */

   utc_ascgmtime(gmTime,                /* Out: Converted time     */
                 UTC_MAX_STR_LEN,       /* In:  Length of string   */
                 (utc_t*) NULL);        /* In:  Time to convert    */
                                        /* Default is current time */