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.
- Time Conversion
- Discussions
Time Conversion
Time Conversion
Sort by
recency
|
859 Discussions
|
Please Login in order to post a comment
my java solution: ` s= s.trim(); String timeMarker=s.substring(8); String originalTime = s.substring(0, 8); String[] originalTimeList= originalTime.split(":"); String hour = originalTimeList[0]; Integer hourInt = Integer.parseInt(hour); StringBuilder newTime = new StringBuilder();
`
how can there be 12AM in a 12hr clock ?!? why the questions are like this?
My solution in JS
My Solution to that Problem:
My answer with Typescript, clearly