I am needing to display both Local (based on TZ) and UTC time in the Date/Time area. See example.
Original code:
Get current time in station time zone
Tz = pytz.timezone(Config['Station']['Timezone'])
Now = datetime.now(pytz.utc).astimezone(Tz)
I added:
NowUTC = datetime.now(pytz.utc)
If I use " Now = datetime.now(pytz.utc)" it displays UTC time correctly. Can someone point me to where I can add this to the display?