Python F-String Format Date
import datetime
now = datetime.datetime.now()
print(f'{now:%Y-%m-%d %H:%M}')
pkmatador
import datetime
now = datetime.datetime.now()
print(f'{now:%Y-%m-%d %H:%M}')