DateTime column limitation

111118
New Member

Hello everybody.
How can I limit the selection to just two time stamps?
3X_6_c_6cfe42951f997d8fa198ee7e806899fa292abb0b.png

0 2 214
  • UX
2 REPLIES 2

@111118

Welcome to the AppSheet community.

Please make it clear as to what you mean by two timestamps.

Do you mean

1)any date and just two times?

  1. Just two date time stamps together, meaning something like just two options โ€œ01/01/2021 09:00:00โ€ and โ€œ12/31/2021 10:00:00โ€

  2. Or anything else?

Assuming you wish to have option 1 above, it may be a better idea to separate the Datetime type column into two columns, one each for date and one for time.
in the time column you could have a valid_if expression something like LIST(โ€œ9:30:00โ€, โ€œ17:30:00โ€)

This will look like below

Also, you may find a lot of related references below that will help you in your AppSheet journey.

Yeah, thanks a lot. It is much easier with separate it in two columns.

Top Labels in this Space