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