DATE DATETIME()
From Lianjapedia
Revision as of 06:47, 11 April 2013 by Yvonne.milne (Talk | contribs)
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()); }