solutions

Write a function that formats a particular datetime object sent as a parameter with a custom String format.

Examples:

>>> dt = datetime(2016, 1, 5, 13, 30)
>>> format_datetime(dt)
"Tuesday January 05th, 2016 at 13:30 hs"

Test Cases

tests

[]