Change Code To Display 24 Hour Format

VB 2013

I am trying to modify the following code to display military time (24 hour)..
txtDispatched.Text = reader.GetDateTime(10)
mickeyshelley1Asked:
Who is Participating?
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
txtDispatched.Text = reader.GetDateTime(10).ToString("HH:mm:ss")
0
 
mickeyshelley1Author Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.