FACER Community

Time zone as a number

Hi!

I know of #Dz# and #Dzzzz#, but would it be possible to have a number version of those tags?
One that would give back how many hours are added (subtracted) in your time zone.

Right now I’m using something like subtracting current time, from UTC one, but that creates bugs near midnight.
(and yes, that can be theoretically fixed, but I would really like to use one tag versus 20 signs script)

Really, this should return both hour and minutes offset from UTC.

ie. for PDT (US, Pacific Daylight): -7 hours, -0 minutes
ie. for AEST (Australia, Eastern Standard): +10 hours, +0 minutes

Further comments here: Feature request: time/date engine (aka 'black box')