def get_db_connection_tz(cursor):
    """ Return time zone of the Django database connection with which
    the specified cursor is associated.
    """
    cursor.execute("SHOW timezone;")
    return cursor.fetchall()[0][0]