Difference between revisions of "DATE DATETIME()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 22: | Line 22: | ||
==DESCRIPTION== | ==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 Recital SET DATE, SET CENTURY, SET MARK, SET HOURS and SET SECONDS commands. | + | 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 Recital [[SET DATE]], [[SET CENTURY]], [[SET MARK]], [[SET HOURS]] and [[SET SECONDS]] commands. |
Latest revision as of 11:03, 30 March 2009
PURPOSE
Return the current system date and time
SYNONYM
api_date_datetime()
SYNOPSIS
#include "dbapi.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 Recital 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 "dbapi.h" dbapi_date_datetime() { _retc(DATE_DATETIME()); }