When comparing date/time values, it is better to use the date/time comparison functions.
You can use the IS_BEFORE, IS_AFTER, and IS_SAME functions, or you can use the DATETIME_DIFF function.
IF(
AND(
DATETIME_DIFF(TODAY(), {Check-in}, 'days') >= 0,
DATETIME_DIFF(TODAY(), {Check-out}, 'days') <= 0
),
TRUE(),
FALSE()
)
A couple of notes:
-
TODAY() and NOW() are not continuously updated. You may need to reload a base or view in order to update them.
-
TODAY() and NOW() return the GMT date and time, not local time. So if your {Check-in} and {Check-out} times are displayed as local dates, your results might be off by a day.