I found the following piece of code to give just time, instead of date and time.
Time[0].ToShortTimeString()
In control panel, I have the time set to 24 hr clock, but the output from the above prints time in AM and PM format.
I cannot find the code to format the output in 24 hr clock.
Any suggestions would be appreciated,
Thank you
Comment