AdamD1

Problem using addHours for Date Time Field

Discussion created by AdamD1 on Mar 15, 2018
Latest reply on Apr 5, 2018 by PaulS1

Hi all,

 

I would like to calculate the "End Date & Time" field from the value in the "Date and Time" field. I am using expression as demonstrated in the expression examples on the SkyBow website (at least I think I am), but I keep getting the below error. What am I missing?

 

Failed eval expression: Error occurred on evaluating expression "{ return [[Date_x0020_and_x0020_Time]].addHours(1); }"TypeError: arguments[0].addHours is not a function

 

Outcomes