Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <mailman.158.1718763340.2909.python-list@python.org>
Deutsch   English   Français   Italiano  
<mailman.158.1718763340.2909.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: "Ivan \"Rambius\" Ivanov" <rambiusparkisanius@gmail.com>
Newsgroups: comp.lang.python
Subject: Re: Timezone in HH:MM Format
Date: Tue, 18 Jun 2024 22:15:25 -0400
Lines: 12
Message-ID: <mailman.158.1718763340.2909.python-list@python.org>
References: <CAE9rwzP8rQe=-6b1jPdDr6rgG+fVztiQbQEWM5Z6Jhj44maNLw@mail.gmail.com>
 <mailman.156.1718753550.2909.python-list@python.org>
 <slrnv748jc.4u09.jon+usenet@raven.unequivocal.eu>
 <CAE9rwzPEXe1GCnsYV+u8-fTAjBBv56zPZbtSPZf2QMJfzcD5Rg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de q8+EysXhlJ0ihEqNW5K5NQpKm1yXuxquNc5AbBqGIdjQ==
Cancel-Lock: sha1:XG1sssQ4YagR3SaHdaFCQnRC1MM= sha256:IhKQpx3VSfb7dqeljGcWvLetr0k9XnyrnYUZ4+WaYqU=
Return-Path: <rambiusparkisanius@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
 reason="2048-bit key; unprotected key"
 header.d=gmail.com header.i=@gmail.com header.b=dgFIF4z/;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.105
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.82; '*S*': 0.03; '18,': 0.09; 'cc:addr
 :python-list': 0.09; 'cc:no real name:2**0': 0.14; '2024': 0.16;
 'wrote:': 0.16; 'tue,': 0.19; 'cc:addr:python.org': 0.20;
 'cc:2**0': 0.25; 'jun': 0.26; 'python-list': 0.32; 'message-
 id:@mail.gmail.com': 0.32; 'work.': 0.34; 'header:In-Reply-To:1':
 0.34; 'received:google.com': 0.34; 'from:addr:gmail.com': 0.35;
 'both': 0.40; 'your': 0.64; 'subject::': 0.83; 'jon': 0.84;
 'mega': 0.84; 'url-ip:195/8': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1718763337; x=1719368137; darn=python.org;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=egT4nHkio//6kcbj4HEoqNdODPEvNd6d4hHG7xjxC6o=;
 b=dgFIF4z/ywdsq4cWd+4BBcAgTRgZx89/bgUrzn4YzXgTTrIT/upOi2rfWdf2l4GcOy
 6KMJ4cGdbE4BdA7rWbmjvLBlZyeNvudiHULZoGglkHGaD79VsZ07yP1dOZjl/NXLxcRx
 HFXvE3RKQDl9MgWv/SX7LiJmdeeTq0kEGQsHT5Ag6FE2DapZL7FDo40Bo3Rs3A6ATtx1
 EsmSt97EuF0s7zgoWLjb71xfdFHIpVtSo6TPJ4zvk/OefC4+q3TleWizqDcb+hLaoRVG
 tlV85ypT+Vl+2eacRnRz79PmRFiFHim+zBbzvRO6crm6PMyW6i2ilJtnHssjmfQQxgY8
 A/Pg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1718763337; x=1719368137;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=egT4nHkio//6kcbj4HEoqNdODPEvNd6d4hHG7xjxC6o=;
 b=pKB4AevvU6HAanM1zM5gIpFMW7Eq8vwIhmHwWnTASU2Tw/bCrry+G9hLxg+Oc/BCEG
 CZffdQh+9ftv8odY5T1187TZX5EVFTnv4sVL6MbArh6WRP/TndLsfL1b8FeSkeAqPnDJ
 AWhoLqjoa93FvGl5aP1u+mySygbzbI3Ms97jc0cby0v2g6LmGZzddaNOhPNdsmqxF64w
 FvsJD7jhvD4jLd1boYr5WSRs2yuWKnLJj6gqi2MmeWaTb/e5imEH1M4Q7YsAjb4qL+LC
 VPkkQpCIWFz3EagBtieKh0Hj+lxtGJakYVZApcfIrdnZeeYWOF+MUZG5bWEfRz5nz6s3
 6qTQ==
X-Gm-Message-State: AOJu0YxHPz27ufLLE6//B/xzEVVbozyw+pJ6AFKEhOd5ai3uxPc/LH9Y
 VTvrp18prncmhEhLWGKxUqpDQxwY6d1FJYu1nY8af8S5Q55udy7erHa4ucXGmXaKVbhCeAs9hwN
 iqLengT9EKG68QFf31qKQWL3qRY4=
X-Google-Smtp-Source: AGHT+IGOpgenrx4G5JxHmvz51dWQLL1aycFEyeOSlc7BAo4KeoEg0s4dt+gyctviCnC4nsDbUgtVHxcPgk1v5T0ktZU=
X-Received: by 2002:aa7:c392:0:b0:57d:107e:dd79 with SMTP id
 4fb4d7f45d1cf-57d107edd96mr30351a12.26.1718763337245; Tue, 18 Jun 2024
 19:15:37 -0700 (PDT)
In-Reply-To: <slrnv748jc.4u09.jon+usenet@raven.unequivocal.eu>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
 <python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
 <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
 <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAE9rwzPEXe1GCnsYV+u8-fTAjBBv56zPZbtSPZf2QMJfzcD5Rg@mail.gmail.com>
X-Mailman-Original-References: <CAE9rwzP8rQe=-6b1jPdDr6rgG+fVztiQbQEWM5Z6Jhj44maNLw@mail.gmail.com>
 <mailman.156.1718753550.2909.python-list@python.org>
 <slrnv748jc.4u09.jon+usenet@raven.unequivocal.eu>
Bytes: 4921

Thank you all for your responses!

On Tue, Jun 18, 2024 at 9:54=E2=80=AFPM Jon Ribbens via Python-list
<python-list@python.org> wrote:
>
> datetime.now(ZoneInfo("America/New_York")).isoformat()

Both .isoformat() and "%:z" work.


--=20
Tangra Mega Rock: http://www.radiotangra.com