DateValue Function
Syntax
DateValue(Date$)
Group
Description
Returna the day part of the date encoded as a string.
Parameters
| Parameters | Description |
|---|---|
| Date$ | Converts this string value to the day part of date it represents. |
See also
DateSerial, TimeSerial, TimeValue
Sub Main Debug.Print DateValue("1/1/2000 12:00:01 AM") '1/1/2000 End Sub