How do I get datetime to stop showing seconds?

Steve Gronicus at SGA.Ninja
Fri Oct 16 03:42:37 EDT 2020


d2 =  datetime.datetime.now() #Time Right now

Show this: 2020-10-16 02:53
and not this: 2020-10-16 02:53:48.585865


==============================================================
Footnote:
If you double major in psychology and reverse psychology, to they cancel
each other out?

-- 



More information about the Python-list mailing list