can yo pls help me the full codes of militlitary time convert to 12 hours time.

jephthah commented: "militlitary time" ... twice, even! dude, that's just awesome :) +12

If the military time is past 12:59 then just subtract 12. For example: 1300 - 1200 = 1:00 p.m.

can yo pls help me the full codes of militlitary time convert to 12 hours time.

I can't really help you fill lines of code (it would requre altering your neural system.) Modulo 12.60 should do it, with floating point integers.

EDIT: Sorry Ancient Dragon, didn't see your post :P

commented: bump +12

Yes, the mod operator might be a quicker way to convert it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.