Command Prompt for Windows




Command DATE2SER

Function:

Convert a date to a serial date value. The serial date value is stored in an environment variable called DATE2SER.

Syntax:

DATE2SER date
dateSpecifies the date to convert.

Note:

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.

Also see command SER2DATE and Batch Files.