def get_windows_tz(iana_tz):
    ' Returns a valid windows TimeZone from a given pytz TimeZone\n    (Iana/Olson Timezones)\n    Note: Windows Timezones are SHIT!... no ... really THEY ARE\n    HOLY FUCKING SHIT!.\n    '
    timezone = IANA_TO_WIN.get((iana_tz.zone if isinstance(iana_tz, tzinfo) else iana_tz))
    if (timezone is None):
        raise pytz.UnknownTimeZoneError(("Can't find Iana TimeZone " + iana_tz.zone))
    return timezone
Returns a valid windows TimeZone from a given pytz TimeZone
(Iana/Olson Timezones)
Note: Windows Timezones are SHIT!... no ... really THEY ARE
HOLY FUCKING SHIT!.
def get_windows_tz(iana_tz):
    ' Returns a valid windows TimeZone from a given pytz TimeZone\n    (Iana/Olson Timezones)\n    Note: Windows Timezones are SHIT!... no ... really THEY ARE\n    HOLY FUCKING SHIT!.\n    '
    timezone = IANA_TO_WIN.get((iana_tz.zone if isinstance(iana_tz, tzinfo) else iana_tz))
    if (timezone is None):
        raise pytz.UnknownTimeZoneError(("Can't find Iana TimeZone " + iana_tz.zone))
    return timezone