DateSerial Function |
Returns a date value.
Parameter |
Description |
his numeric value is the year (0 to 9999). (0 to 99 are interpreted by the operating system.) |
|
This numeric value is the month (1 to 12). |
|
This numeric value is the day (1 to 31). |
Sub Main
Debug.Print DateSerial(2000,7,4) '7/4/2000
End Sub