In my ASP.NET web form I have 3 fields – hour, minute and am/pm drop down. How can I get the values of those 3 fields into one variable and then convert the am/pm hour to standard 24 hour time like 05:20PM = 17:20. This needs to be done in C#.
Thanks for the help beforehand.
Are you saying your starting out with separate values for hour, minute, and am/pm?