Library /sys$common/syshlp/helplib.hlb  —  DECdts  utc_ascreltime
    Converts a relative binary timestamp to an ASCII string that
    represents the time.

    Format

      #include <utc.h>

      int utc_ascreltime(*cp, stringlen, *utc)

         char *cp;
         const size_t stringlen;
         const utc_t *utc;

1  –  Parameters

    Input

 utc

    Relative binary timestamp.

 stringlen

    Length of the cp buffer.

    Output

 cp

    ASCII string that represents the time.

2  –  Description

    The ASCII Relative Time routine converts a relative binary
    timestamp to an ASCII string that represents the time.

3  –  Returns

     0   Indicates that the routine executed successfully.
    -1   Indicates an invalid time parameter or invalid results.

4  –  Example

    See the sample program for the utc_abstime routine.

5  –  Related Functions

    utc_mkascreltime
Close Help