RelativeDate.value
Property Description |
The value of the relative date range. For relative dates that you create using query.createRelativeDate(options), the value of this property is set when that method is executed. For relative date ranges that are included in the query.RelativeDateRange enum, the value of this property is undefined (for example, |
Type |
number (read-only) |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2019.1 |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/query Module Script Samples.
// Add additional code
...
var myRelativeDate = query.createRelativeDate({
dateId: query.DateId.WEEKS_AGO,
value: 2
});
var theValue = myRelativeDate.value;
...
// Add additional code