Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The xpxGetDate procedure returns the current time and date in the format as listed in the formal parameters of this procedure.

Arguments

...

TypeNameComment
INTEGERsecondscomment
INTEGERminutes 
INTEGERhours 
INTEGERday 
INTEGERmonth 
INTEGERyear 

Return Value

...

Insert excerpt
US:_r_XPX_Return_Value
US:_r_XPX_Return_Value
nopaneltrue

...

Example

...

Code Block
languagecpp
<Missing 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 (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "extension_schema" and parent = "5636522"

...