DATE AMPM()
From Recital Documentation Wiki
PURPOSE
Return the time based on a 12 hour clock
SYNONYM
api_date_ampm()
SYNOPSIS
#include "dbapi.h" char *DATE_AMPM() <input parameters> none <output parameters> none
DESCRIPTION
The DATE_AMPM() function returns the current time based on a 12 hour clock as a character string followed by "am" or " pm".
EXAMPLE
The following example stores the current time in ampm format to the character pointer current_time.
#include "dbapi.h" dbapi_date_ampm() { char *current_time; current_time = DATE_AMPM(); retc( current_time ); }
SEE ALSO
_parinfa(), _parinfo(), _pards(), _retds(), ISDATE(), DATE_CDOW(), DATE_CMONTH(), DATE_CTOD(), DATE_DATE(), DATE_DAY(), DATE_DOW(), DATE_DTOC(), DATE_DTOS(), DATE_MONTH(), DATE_STOD(), DATE_TIME(), DATE_YEAR()