Converted time to 12hr format