I need to create a code that converts the current 12hr time to 24hr time (excluding seconds). so far i have:
But how do you enter in the current time to Visual basic?
Code:
Sub x24hr_time
Dim currenttime As String
currenttime=TimeOfDay.ToString("hh:mm")
Comment