xpxGetDate
FUNCTION xpxGetDate (VAR seconds, VAR minutes : INTEGER; VAR hours, VAR day, VAR month : INTEGER; VAR year : INTEGER) status : INTEGER;
The xpxGetDate procedure returns the current time and date in the format as listed in the formal parameters of this procedure.
Arguments
Type | Name | Comment |
INTEGER | seconds | comment |
INTEGER | minutes | Â |
INTEGER | hours | Â |
INTEGER | day | Â |
INTEGER | month | Â |
INTEGER | year | Â |
Return Value
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.
Options
Â
Example
PROCEDURE dateExample; LOCAL seconds,minutes,hours,day,month,year : INTEGER; stringDate : STRING; END_LOCAL; ON_ERROR_DO; xpxPrintf('\nError.'); xpxThrow; END_ON_ERROR_DO; xpxGetDate(seconds,minutes,hours,day,month,year); stringDate := xpfDateToString(seconds,minutes,hours,day,month,year); xpxPrintf('\nCurrent date : %s',stringDate); RETURN; END_PROCEDURE;
Â
See also
Filter by label
There are no items with the selected labels at this time.
Â