how to Compare two date, if one date great than another date by one day.

0
how to Compare two date, if one date exactly great than another date by one day. I want to to update data only one time in a day after updating data it should not allow user to update data within 24 hours.  
asked
1 answers
1

Hi Rishab, you could use the add days or hours function depending what you want to achieve. In a split check if addDays($myvariable,1) is > [currentdatetime] if that's the case you are good, if not you need they need to wait a bit longer. 

 

https://docs.mendix.com/refguide/add-date-function-calls/#6-adddaysutc

 

answered