hi
if I've got a form passing in the following variables...
Hours.... 1-12
Minutes... 0-55
AM or PM
So as a result I may end up with...
01 25 PM
What I want to do is convert that into 24 hour format if PM is selected as apposed to am. So my question is, how do I convert this to 24 hour format (without adding 13,14 etc to the form)?
01:25:00
thanks
regan
if I've got a form passing in the following variables...
Hours.... 1-12
Minutes... 0-55
AM or PM
So as a result I may end up with...
01 25 PM
What I want to do is convert that into 24 hour format if PM is selected as apposed to am. So my question is, how do I convert this to 24 hour format (without adding 13,14 etc to the form)?
01:25:00
thanks
regan