Conversion of Time from 12 Hour Format to 24 Hour Format and Vice Versa