DateValue Function
SyntaxGroupDateValue(Date$)
Time/DateDescription
Return the day part of the date encoded as a string.
See Also
Parameters Description Date$ Convert this string value to the day part of date it represents.
DateSerial, TimeSerial, TimeValue
Sub Main Debug.Print DateValue("1/1/2000 12:00:01 AM") '1/1/2000 End Sub