DATE TIME()

From Recital Documentation Wiki
Revision as of 10:57, 30 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

PURPOSE

Return the current time


SYNONYM

api_date_time()


SYNOPSIS

#include "dbapi.h"
 
char	*DATE_TIME
 
<input parameters>
none
 
<output parameters>
none


DESCRIPTION

The DATE_TIME() function will return will return the current system in the 24 hour format HH:MM:SS.


EXAMPLE

The following example stores the current system into the character pointer "time".

#include "dbapi.h"
 
dbapi_date_time()
{
    char	*time()
 
    time = DATE_TIME();
 
    _retc( time );
}


SEE ALSO

_parinfa(), _parinfo(), _pards(), _retds(), ISDATE(), DATE_AMPM(), DATE_CDOW(), DATE_CMONTH(), DATE_CTOD(), DATE_DATE(), DATE_DAY(), DATE_DOW(), DATE_DTOC(), DATE_DTOS(), DATE_MONTH(), DATE_STOD(), DATE_YEAR()