convert the following given time to 12 hour and 24 hour

Answer:
20 minutes to midnight
12hr format - 11:40 pm
24hr format - 23:40