Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 333 Bytes

File metadata and controls

12 lines (7 loc) · 333 Bytes

Convert Time Algorithm

Sometimes you will find your self having to convert times and timezones, also very often all you have is a piece of string with the date.

In this algorithm you insert a time in a string and the the output will be a converted to the 24h format time string.

Input:

07:45:50PM

Output

19:45:50