SyntaxFix
Write A Post
Hire A Developer
Questions
If you want the time as well, just go with
datetime.datetime.now().__str__()
Prints 2019-07-11 19:36:31.118766 in console for me
2019-07-11 19:36:31.118766