@staticmethod
def win_timestamp_to_unix(seconds):
    """
        Convert Windows timestamp (100 ns since 1 Jan 1601) to
        unix timestamp.
        """
    seconds = int(seconds)
    if seconds == 0:
        return -1
    return int((seconds - 116444736000000000) / 10000000)
