def timestamp_to_day_timestamp(the_timestamp):
    """timestamp to day-timestamp

    Args:
        the_timestamp (int): the timestamp in sec

    Returns:
        int: day-timestamp
    """
    the_block = the_timestamp // 86400
    return the_block * 86400