The UNDATE function converts a date field to a nondate
for unambiguous use with nondates.
If the NODATEPROC compiler option is in effect, the UNDATE function has no effect.
The function type depends on the type of argument-1:
| Argument type |
Function type |
| Alphanumeric |
Alphanumeric |
| Integer |
Integer |

Format
>>-FUNCTION UNDATE--(--argument-1--)---------------------------><
- argument-1
- A date field.
The returned value is a nondate that contains the value of argument-1 unchanged.