In python, I want to find the date and time and put it inside of a string.
I have tried this:
example = datetime.datetime.now()
print(example)
However it returns the date with the miliseconds. What do I do if i don't want the miliseconds included. Just the date and time formatted like this:
YYYY-MM-DD 00:00:00