My Oracle Support Banner

How Can We Perform Date Arithmetic in a Dynamic Script Property Javascript in DRM? (Doc ID 1956937.1)

Last updated on FEBRUARY 03, 2019

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.