Modules

filter

 

Objects/Functions

module (N/query)

SuiteScript 2.0

RelativeDate.end

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=RelativeDate.end for more information.

N/query Module
RelativeDate.end
Property Description: The end of the relative date. 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 always available (for example, query.RelativeDateRange.YESTERDAY.end).
Type: Object (read-only)
Module: N/query Module
Parent Object: query.RelativeDate
Sibling Object Members: RelativeDate Object Members
Since: 2019.1
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=RelativeDate.end

Example:

// Code Example 1
// Add additional code
//...
var myRelativeDate = query.createRelativeDate({
dateId: query.DateId.WEEKS_AGO,
value: 2
});

var theEnd = myRelativeDate.end;
//...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1544109465.html