Changing time format

Source code

Example output

Military time? Yes    No