military-time

Why shouldn't I ask my users to enter times using military format

I have a form that asks users to enter a start and end time for an event. For many years, we have allowed them to enter the times by selecting the hour (1-12), minute (1-60), and AM/PM from three drop down boxes. This has worked fine without complaints from customers. However, today I was hit with a request to change the input to one tex...

Aribitrary System.DateTime to four character military time string

Hello, How would I convert an arbitrary System.DateTime to a four character military time string. Example 1: 7am would be "0700" Example 2: 2pm would be "1400" Thanks! ...

adding military time in string representation

So what I am trying to do is add two strings together in the form of military time. Here is the example. Time1 = "01:00"; Time2 = "04:30"; Adding the two together would produce "05:30". This seems incredibly simple, but it has been a long long day for a new learner. Any help would be greatly appreciated. ...