def ts_truncate_time(timestamp):
    """
    Set time to zero in a timestamp.

    :param ts: Timestamp in seconds.
    :type ts: int

    :return: Timestamp in seconds, without counting time (ie: DD-MM-YYYY 00:00:00)
    :rtype: int
    """
    return timestamp - (timestamp % 86400)