| Name | Type | Options | Opt/Req | Description |
| dateIn | D | Const | Opt | The date to convert. If no date is sent then %date() is used. |
| length | 1,0 | Const | Opt | 8 returns an 8 digit date; 6 returns a 6 digit date. If length is not sent or other than 8 or 6, then 8 digit is the default. |
| format | 4A | Const | Opt | Indicates the format of the date: valid entries are: '*DMY', '*MDY', and '*YMD'. If format is not sent then *YMD is used. |
| Returns: | 8,0 | n/a | n/a | The integer representation of the date. |