How to change format of time
<p>I have a $_POST ($_POST['durationChosen']) which is a time and its format is '00 Hrs 00 Mins 00 Secs'. Now I still want to display this format in the textbox but on the next page I want $_POST['durationChosen'] I want the format to be '00:00:00'. How can I do this?</p>

<p>An example is in the textbox I have '01 Hrs 30 Mins 15 Secs' but in next page I want it formatted so its '01:30:15'. Can this be done?</p>
