I'm trying to work out how to retrieve the current system timezone in a (TZ) format on windows, ie. America/New_York, I need to supply this to an API this application communicates with.
I'm currently using
Which gives me this output
GMT Standard Time
What I hope to get is something like
Am I missing something simple or is this not available and thus does that mean I need to do the conversion myself?