def windows_to_unix_timestamp(windows_timestamp):
    """ Converts a Windows timestamp to Unix one

    :param windows_timestamp: Windows timestamp
    :type windows_timestamp: int

    :return: Unix timestamp
    :rtype: int
    """
    magic_number = 11644473600
    return int((windows_timestamp / 10000000) - magic_number)