Difference between revisions of "DATE TIME()"
From Lianjapedia
Yvonne.milne (Talk | contribs) (→EXAMPLE) |
m |
||
(2 intermediate revisions by one other user not shown) | |||
Line 7: | Line 7: | ||
==SYNOPSIS== | ==SYNOPSIS== | ||
<code lang="c"> | <code lang="c"> | ||
− | #include " | + | #include "lianja_api.h" |
char *DATE_TIME | char *DATE_TIME | ||
Line 19: | Line 19: | ||
==DESCRIPTION== | ==DESCRIPTION== | ||
− | The DATE_TIME() function | + | The DATE_TIME() function will return the current system time in the 24 hour format HH:MM:SS. |
==EXAMPLE== | ==EXAMPLE== | ||
Line 25: | Line 25: | ||
<code lang="c"> | <code lang="c"> | ||
− | #include " | + | #include "lianja_api.h" |
lianjaapi_date_time() | lianjaapi_date_time() |
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()