Can't get the "Equipment Schedule" to accept time values

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!

system.date.now() is not an Expression Language function. That's a System Function used in Python scripting.

Try creating an expression function using now(). Note that you can specify how often the expression is to be recalculated:
now(): recalculate at the default rate - typically 1000 ms.
now(0): only calculate once, the first time it's seen.
now(1234): recalculate every 1234 ms.

For the calculation use addHours.

addHours(now(60000), 8)
This will update once every 60 s.

Thanks that got it working and that makes sense. I hadn't made the distinction between the two.