In an entity, I have a date. Now I want to get date which is 30 days earlier from that date. Can I do this in designer 2.0?

In an entity, I have a date. Now I want to get date which is 30 days earlier from that date. Can I do this in designer 2.0?

6 Likes

This can be achieved using the start date and end date properties of the date picker. There are two date pickers. The selected date from the first date picker would become the start date in the second date picker. Therefore, on the onSelect event of the first date picker, reload the second date picker and pass the name of the first date picker in the start date property of the second date picker.
image

Selected date in first date picker.
image

Now, the start date in the second data picker.
image

This is how it can be done.

10 Likes