Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Gets it done solution in Clear category for Date and Time Converter by martin_b
from datetime import datetime
def date_time(t):
d = datetime.strptime(t, '%d.%m.%Y %H:%M')
return '{d.day} {m} {d.year} year {d.hour} hour{hs} {d.minute} minute{ms}'.format(
d=d,
m=d.strftime("%B"),
hs='' if d.hour == 1 else 's',
ms='' if d.minute == 1 else 's')
April 1, 2018