'Return the current local timezone offset from UTC.
@type when: C{int}
@param when: POSIX (ie, UTC) timestamp for which to find the offset.
@rtype: C{int}
@return: The number of seconds offset from UTC.  West is positive,
east is negative.'

def getTimezoneOffset(self, when):

    offset = (datetime.utcfromtimestamp(when) - datetime.fromtimestamp(when))
    return ((offset.days * ((60 * 60) * 24)) + offset.seconds)
