DATE TIME()

From Lianjapedia
Jump to: navigation, search

PURPOSE

Return the current time

SYNONYM

api_date_time()

SYNOPSIS

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

DESCRIPTION

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

EXAMPLE

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

#include "lianja_api.h"
 
lianjaapi_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()