On 16 Oct 2020 12:50, Eryk Sun <[email protected]> wrote:

     On 10/16/20, Steve <[email protected]> wrote:
     > -----Original Message-----
     > From: Python-list <[email protected]>
     On
     > Behalf Of Frank Millman
     > Sent: Friday, October 16, 2020 4:34 AM
     > To: [email protected]
     > Subject: Re: How do I get datetime to stop showing seconds?
     >
     > On 2020-10-16 9:42 AM, Steve wrote:
     >> d2 =  datetime.datetime.now() #Time Right now
     >> 

   I was using datetime.now().isoformat('T', 'seconds')
   Not 100% sure, but the strings seemed to be 2hrs off. Could it be that
   this Linux server was using the wrong time zone?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to