Convert a date to a serial date value. The serial date value is stored in an environment variable called DATE2SER.
date Specifies the date to convert.
Parameter date is specified according to the international format set in the Control Panel. For example, the USA date format is typically mm-dd-yyyy and the Australian date format is typically dd-mm-yyyy.
Example on using DATE2SER.