I have two dates ex. 03/05/2021 & 03/10/2021, I am trying to get all dates within this range. (i.e 03/05/2021, 03/06/2021, 03/07/2021, 03/08/2021, 03/09/2021, 03/10/2021).
Please help me with it.
Discussion posts and replies are publicly visible
Define two rule inputs (ri!startDate, ri!endDate) for the following rule:
= a!foreach( items: enum(1+tointeger(ri!endDate-ri!startDate)), expression: ri!startDate+fv!item )
You'll want to add validations before using this in your application.
Thanks
How can I populate database with a single form on multiple dates field.Let's say I am creating a Vacation form and employee wants to apply leave from 1st jan till 5th jan and they will fill other form fields such as reason of leave, informed manager etc. Now when the employee hit submit I should see 5 entries on Database with 5 dates but the rest form deatils should be same?
Are you sure that you want to write multiple rows for a single request?
Hi Santander,
I want to print next 7 days, is there any condition to apply?
this is the reference format 11,18,25.
Regards,
Yuvaraju