I am trying to set up a scheduling display in perspective, where the start and end times are input from the system.date.now() function so that it will continue to update throughout the day. I have to adjust the time to get the window that I want to see, so I am trying to use system.date.addHours() function to adjust it, but I get an error when I enter that function in. Under PROPS > dateRange > startDate , If I bind the expression:
system.date.now()
it gives the date just fine, but when I put in:
system.date.addHours(system.date.now(), +8)
then it just says error. I want to see the schedule to display from the current time to 8 hours in advance. If anyone has successfully used the "Equipment Schedule" object in perspective. I'd love to hear how you did it!