Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Date and Time Converter solution in Creative category for Date and Time Converter by anasstka
from datetime import datetime
def date_time(time: str) -> str:
date = datetime.strptime(time, '%d.%m.%Y %H:%M')
return date.strftime(f"{date.day} %B %Y year {date.hour} {'hour' if str(date.hour) == '1' else 'hours'} {date.minute} "
f"{'minute' if str(date.minute) == '1' else 'minutes'}")
July 11, 2020