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
|
358 Discussions
|
Please Login in order to post a comment
my approach:
my approach on the JavaScript solution
One testcase i.e 4 failing for me any idea what it is
I gone in a totally different way, with Python 3:
def timeConversion(s): return(datetime.datetime.strptime(s, "%I:%M:%S%p").time().strftime("%H:%M:%S"))