Compare Date and time

I need to write a validation to avoid user from selecting past data and time.

My problem is when I use today() for comparison I get 13/09/2021 10:00 as date and time. There is a GMT component of 10 hours.

I am expecting  userInputDateTime >13/09/2021 00:00 

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data