I have used timezone = pytz.timezone('Asia/Singapore') and datetime.now(timezone) to get my currrent date. However, it is still display as system time instead of UTC + 8.
I have used timezone = pytz.timezone('Asia/Singapore') and datetime.now(timezone) to get my currrent date. However, it is still display as system time instead of UTC + 8.
What do you mean by display? Is this in logs or on a webpage? And if you can capture that data in both a webpage and the logs does it look the same?