DATE DATETIME()
From Recital Documentation Wiki
Revision as of 11:03, 30 March 2009 by Yvonnemilne (Talk | contribs)
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()); }