# Why is datetime.utcnow deprecated?

**URL:** <https://discuss.python.org/t/why-is-datetime-utcnow-deprecated/86868>\
**Category:** Python Help\
**Created:** [April 1, 2025, 10:23pm UTC](https://discuss.python.org/t/why-is-datetime-utcnow-deprecated/86868 "2025-04-01T22:23:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![notatallshaw](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/notatallshaw/32/10861_2.png) [@notatallshaw](https://discuss.python.org/u/notatallshaw)\
**Post date:** [April 2, 2025, 6:57pm UTC](https://discuss.python.org/t/why-is-datetime-utcnow-deprecated/86868/5 "2025-04-02T18:57:27Z")

</div>

> [@Rosuav](#):
>
> The problem is, that is NOT a timezone-aware object. It is a naive object that happens to correspond to the

And in many cases that’s what users want, as already discussed in length in [Deprecating `utcnow` and `utcfromtimestamp`](https://discuss.python.org/t/deprecating-utcnow-and-utcfromtimestamp/26221)

Frankly Python standard library datetime timezones have design choices I would consider such bad footguns that I would never recommend people use them unless they have an intricate understanding of said design choices.

[@moderators](https://discuss.python.org/groups/moderators) why was this topic split? By removing context of this discussion we’re wasting time and energy repeating things already discussed there.

---

_[View the full topic](https://discuss.python.org/t/why-is-datetime-utcnow-deprecated/86868)._
