TimeValue(time) returns A Variant/Date containing the time for time : TimeValue « Date Functions « VBA / Excel / Access / Word






TimeValue(time) returns A Variant/Date containing the time for time

 
Sub dateDemo15()
   Debug.Print timeValue(Now)
End Sub

 








Related examples in the same category

1.TimerValue function returns time value
2.TimeValue("9:00") returns 9:00:00 AM
3.Program an event for 3:00 p.m.:
4.To schedule an event relative to the current time - for example, 20 minutes from now
5.Scheduling a Verbal Reminder