Difference between revisions of "DATE TIME()"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "lianjaapi.h" to "lianja_api.h")
m
 
Line 19: Line 19:
  
 
==DESCRIPTION==
 
==DESCRIPTION==
The DATE_TIME() function will return will return the current system in the 24 hour format HH:MM:SS.
+
The DATE_TIME() function will return the current system time in the 24 hour format HH:MM:SS.
  
 
==EXAMPLE==
 
==EXAMPLE==

Latest revision as of 11:43, 7 August 2014

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()