Difference between revisions of "DATE DATETIME()"
From Lianjapedia
Yvonne.milne (Talk | contribs) (→EXAMPLE) |
Yvonne.milne (Talk | contribs) m (Text replace - "lianjaapi.h" to "lianja_api.h") |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
==SYNOPSIS== | ==SYNOPSIS== | ||
<code lang="c"> | <code lang="c"> | ||
− | #include " | + | #include "lianja_api.h" |
char *DATE_DATETIME() | char *DATE_DATETIME() | ||
Line 25: | Line 25: | ||
<code lang="c"> | <code lang="c"> | ||
− | #include " | + | #include "lianja_api.h" |
lianjaapi_date_datetime() | lianjaapi_date_datetime() |
Latest revision as of 06:47, 11 April 2013
PURPOSE
Return the current system date and time
SYNONYM
api_date_datetime()
SYNOPSIS
#include "lianja_api.h" char *DATE_DATETIME() <input parameters> none <output parameters> none
DESCRIPTION
The DATE_DATETIME() function will return the current system date and time as a character string. The date and time format returned is specified with the SET DATE, SET CENTURY, SET MARK, SET HOURS and SET SECONDS commands.
EXAMPLE
The following example returns the current system date and time as a string.
#include "lianja_api.h" lianjaapi_date_datetime() { _retc(DATE_DATETIME()); }