TIMETOA C-3





Copyright (C) 1994-95 Conetic Software Systems, Inc. All names, products, and services mentioned are the trademarks of their respective organizations.



NAME


timetoa - convert TIME value to ASCII equivalent

SYNOPSIS


#include 

char *timetoa (t)
TIME t;

DESCRIPTION


The function timetoa converts a valid TIME value into an ASCII
string, and returns a pointer to the string. The format returned
by getftime(C-3) provides the format to convert the TIME value.

The TIME value parameter represents the number of seconds from
midnight. Midnight has a TIME value of 1.

SEE ALSO


getftime(C-3), ftimetoa(C-3), atottime(C-3)
C/Base Reference Manual Chapter 13, "Formatting Data Values"

DIAGNOSTICS

If the TIME value t is invalid or if the format is invalid, a
pointer to an empty string is returned.

NOTES


The return value points to static data whose contents are
overwritten by each call.