We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I solved this by using the cases of 12 hours in AM to 00, and in 12 hours in PM by letting it as it was. But please, 12 hours clocks dont have 12:01:00 hour. Its from 00:00:00 to 11:59:59. Review your problem.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Time Conversion
You are viewing a single comment's thread. Return to all comments →
I solved this by using the cases of 12 hours in AM to 00, and in 12 hours in PM by letting it as it was. But please, 12 hours clocks dont have 12:01:00 hour. Its from 00:00:00 to 11:59:59. Review your problem.