GETFTIME C-3

NAME

getftime - get format for TIME values

SYNOPSIS

#include <cbase/dtypes.h>

char *getftime()

DESCRIPTION

Getftime returns a pointer to a string containing the format for TIME values. This format string is used by atotime(C-3) and timetoa(C-3). In addition, several of the C/Base programs use this string for formatting TIME values.

The first specifier of the format is for times before 12 Noon. The second specifier is for times of 12 Noon or after. If the second specifier is absent, the the first specifier is for all time values.

The TIME format string is retrieved from the country format structure (see fcountry(C-3)).

SEE ALSO

fcountry(C-3), atotime(C-3), timetoa(C-3)

C/Base Reference Manual Chapter 13, "Formatting Data Values"

NOTES

The value returned points to static data shared among all of the get format routines and is overwritten with each call.