Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second Date and Time Converter solution in Clear category for Date and Time Converter by Wakko_Warner
def date_time(time: str) -> str:
#replace this for solution
import datetime as dt
t = dt.datetime.strptime(time, '%d.%m.%Y %H:%M')
return t.strftime(f'%-d %B %Y year %-H hour{"s" if t.hour != 1 else ""} %-M minute{"s" if t.minute != 1 else ""}')
Dec. 2, 2020
Comments: