DateValue("Nov, 23 04") returns 11/23/2004 : DateValue « Date Functions « VBA / Excel / Access / Word






DateValue("Nov, 23 04") returns 11/23/2004

 
Sub dateValueDemo()
    Debug.Print dateValue("Nov, 23 04")
End Sub

 








Related examples in the same category

1.DateValue(date) returns a Variant/Date containing the specified date
2.Use the OnTime method to run a VBA procedure on a particular day: runs the DisplayAlarm procedure at 5:00 p.m. on December 31, 2007: