What is the syntax to return a second for a given time?

Second (time)
‘yields a range from 0-59
‘example
MsgBox (Second("12:50:05 PM")) 'returns 5
MsgBox (Second("21:33:17")) 'returns 17
MsgBox (Second("9:48AM")) 'returns 0
Advertisements