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 11.1.2.3.500 and later
Information in this document applies to any platform.

Goal

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.

Solution

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