DateSerial

Return a Date from a numeric Year, Month and Day.
Syntax
DateSerial (Year, Month, Day)

Key
Year An integer from 100-9999 representing the year.

Month An integer from 1-12 representing the month.

Day An integer from 1-31 representing the day.

These may also be variables or numeric expressions.

Example
dtmXMAS=DateSerial(2010,12,25)
WScript.Echo dtmXMAS 

Make a Free Website with Yola.