Help needed with retrieving sub-lists

When I redesigned the blocks, I have one thing in mind. These code blocks will be in a function to be called from 3 different buttons:

  • Today Button: which will make thisDay variable equal to TODAY.
  • Yesterday Button: which will make thisDay variable equal to TODAY - 1.
  • Tommow Button: which will make thisDay variable equal to TODAY + 1.

You will then simply run the function and retrieve the sub-list of the required day.

This is the function

These are the buttons to show selected timetable
image

1 Like