RESULT BEETWEEN TWO DATES

Hello friends and Angels, 

I need to find the result from two dates, know the days from check in (01/01/2022) and check out (15/02/2022). 

 

How can I find it?

Some similar to:

Show More

=IFS((

H5="cancelled_by_guest");0;

H5="cancelled_by_hotel";0;

H5="OK";(DAYS(E5;D5)/24))

This result is 1:00:00 but I need "1, 2, 3" for days

I saw https://support.google.com/appsheet/answer/10107326?hl=en

and I cann't find it.

Thanks Sara

Solved Solved
0 3 155
2 ACCEPTED SOLUTIONS

Typically days between two dates in AppSheet are given by the expression 

HOUR([Check Out]-[Check in])/24

where [Check Out] and [Check in] are date type columns.

Please refer the example 

HOUR(TODAY() - [TargetDate]) / 24

in the date and time article you have shared under the section "Examples that compute Durations in Days, Months, or Years"

 https://support.google.com/appsheet/answer/10107326?hl=en

 

View solution in original post

HOUR([CHECK_OUT] - [CHECK_IN]) / 24 : number of days between check out's date and the check in value.

View solution in original post

3 REPLIES 3

Typically days between two dates in AppSheet are given by the expression 

HOUR([Check Out]-[Check in])/24

where [Check Out] and [Check in] are date type columns.

Please refer the example 

HOUR(TODAY() - [TargetDate]) / 24

in the date and time article you have shared under the section "Examples that compute Durations in Days, Months, or Years"

 https://support.google.com/appsheet/answer/10107326?hl=en

 

HOUR([CHECK_OUT] - [CHECK_IN]) / 24 : number of days between check out's date and the check in value.

Thanks boys,

Sara_Bertomeu_0-1656080258650.png

 

 

Top Labels in this Space