May 13, 2021 VBScript
The VBScript DateSerial function returns the Variant of the Date sub-type for the specified year, month, and day.
The DateSerial function returns variant of the sub-type Date for the specified year, month, and day.
parameter | describe |
---|---|
year | Required.Numbers, or numerical expressions between 100 to 9999.The value between 0 to 99 is considered to be 1900-1999.For all other Year parameters, use a complete 4-digit year. |
month | Required.Any numerical expression. |
day | Required.Any numerical expression. |
The above example output results:
Subtract 10 days:
The above example output results: