> For the complete documentation index, see [llms.txt](https://ova-themes.gitbook.io/tripgo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ova-themes.gitbook.io/tripgo/faqs/how-to-change-check-out-in-booking-form.md).

# How to change check-out in Booking Form

Example:

Rental Day: **3 day**. \
When the customer choose **Check-in on 12 July 2024**, so the **check-out** will display **14 July 2024.**

You can add bellow code to functions.php file in child theme

```
add_filter( 'ovabrw_calculate_checkout_by_days', function( $checkout_date, $checkin_date, $numberof_days ) {
    if ( $numberof_days > 0 ) $numberof_days -= 1;
    $checkout_date = $checkin_date + absint( $numberof_days )*24*60*60;

    return $checkout_date;
}, 10, 3 );
```
