How Can We Perform Date Arithmetic in a Dynamic Script Property Javascript in DRM?

(Doc ID 1956937.1)

Last updated on MARCH 08, 2017

Applies to:

Hyperion Data Relationship Management - Version and later
Information in this document applies to any platform.


How can we perform date arithmetic using JavaScript in DRM? For example,

var validfrom = node.PropValue("Custom.SVS_VALID_FROM");
validfrom = validfrom -1;
return validfrom;

should subtract one day but gives different results at different times of day.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms