<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Datetime on ads' corner</title><link>https://andreas.scherbaum.la/tags/datetime/</link><description>Recent content in Datetime on ads' corner</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 05 Aug 2024 14:12:54 +0200</lastBuildDate><atom:link href="https://andreas.scherbaum.la/tags/datetime/index.xml" rel="self" type="application/rss+xml"/><item><title>DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC)</title><link>https://andreas.scherbaum.la/post/2024-08-05_deprecationwarning-datetime-datetime-utcnow-is-deprecated-and-scheduled-for-removal-in-a-future-version-use-timezone-aware-objects-to-represent-datetimes-in-utc-datetime-datetime-now-datetime-utc/</link><pubDate>Mon, 05 Aug 2024 14:12:54 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2024-08-05_deprecationwarning-datetime-datetime-utcnow-is-deprecated-and-scheduled-for-removal-in-a-future-version-use-timezone-aware-objects-to-represent-datetimes-in-utc-datetime-datetime-now-datetime-utc/</guid><description>&lt;p&gt;One of my older &lt;em&gt;Python&lt;/em&gt; scripts is throwing a deprecation warning in the &lt;code&gt;datetime&lt;/code&gt; module after the recent switch from &lt;em&gt;Ubuntu&lt;/em&gt; to &lt;em&gt;Manjaro&lt;/em&gt;. The &lt;em&gt;Python&lt;/em&gt; version is &lt;code&gt;3.12.4&lt;/code&gt; now, previously it was &lt;code&gt;3.11.4&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>