The current usage can be replaced by built-in datatime module.
pytz is not currently in test requirements and it is no longer required
by oslo.utils in Python 3.11.
Change-Id: Ib490f5aebc5c84daf28edc3698694d70a74a4715
(cherry picked from commit 84dacbe8df)
(cherry picked from commit 181d2250ea)
(cherry picked from commit 51e639fd78)
(cherry picked from commit d526c793a8)