Return the hour, minutes, or seconds in the current time.
Return the hour, minutes, or seconds in the current time.
Rate Return the hour, minutes, or seconds in the current time.
(1(1 Vote))
Dim TimeVal As Byte
If returnType = "Minute" Then
TimeVal = Minute(CStr(Time))
ElseIf returnType = "Hour" Then
TimeVal = Hour(CStr(Time))
ElseIf returnType = "Second" Then
TimeVal = Second(CStr(Time))
End If
GetTimeType = TimeVal
End Function
Return the hour, minutes, or seconds in the current time. Comments
No comments yet — be the first to post one!
Post a Comment