DateSerial(year, month, day) returns a Variant/Date containing the date for the specified year, month, and day : DateSerial « Date Functions « VBA / Excel / Access / Word






DateSerial(year, month, day) returns a Variant/Date containing the date for the specified year, month, and day

 
Sub dateDemo3()
   Debug.Print DateSerial(1997, 7, 4)
End Sub

 








Related examples in the same category

1.DateSerial(4, 11, 23) returns 11/23/2004
2.Use DateSerial and Weekday
3.Delivery Date Maint