FORMAT
FORMAT(value, format AS STRING) AS STRING
Returns a formatted string for the parameter <value>, depending on the parameter <format>.
<value> of STRING type:
">": conversion to upper case"<": conversion to lower case
<value> of numerical type:
- Format compatible with the C-function sprintf
<value> of TIME type:
ddord: numerical day with or without 0mmorm: numerical month with or without 0yyoryyyy: year with 2 or 4 digitshhorh: hours with or without 0nnorn: minutes with or without 0ssors: seconds with or without 0zzzorz: milliseconds with or without 0fsWindows : formatted date (short format)flWindows : formatted date (long format)ftWindows : formatted time