Replace usage of datetime.utcnow() with datetime.now(UTC)
This PR replaces all usage of datetime.datetime.utcnow() with datetime.datetime.now(datetime.UTC). The former is deprecated as of Python 3.12.
This PR replaces all usage of datetime.datetime.utcnow() with datetime.datetime.now(datetime.UTC). The former is deprecated as of Python 3.12.