Variable Date and Time to show the next week

I thought I saw a tutorial about how to do this but now I am unable to find it. Currently, I have a setup where when one button is clicked it puts a dynamic attribute value into a hidden search field connected to a table. When a button is clicked you can see records that are due today, and then I have another button setup to query the date and add one day to see tomorrow but I am trying to figure out how to get it to show records due within the next 7 days including the current date. What I have to setup to view tomorrow is var1.datetime.formatDate(“yyyy-MM-dd”) Thank you!

Community Page
Last updated: