24hour

Show HH:mm 24H format in TemplateField using text property

Hi there, im trying to show a 24 hours format using this line: Text='<%# Bind("Appointment", "{HH:mm}") So how it'll be formated for showing for example 16:40 instead 4:40 ? thanks in advance ...

NSDateFormatter dateFromString and iPhone in 24 Hour Format Confusion

I'm having a problem. I get incoming time strings in 12-hour format, and I'm turning them into NSDate objects. When the iPhone is in 12 hour format, no problem. But when it's in 24 Hour format, things go wrong. Here's some sample code to demonstrate: NSString *theTime = @"3:19 PM"; NSDateFormatter *formatter = [[NSDateFormatter alloc] i...