Date ng.Calendar.process_date (Mixed date, [Date use_date = Null]) vs. 1.1.0 Full+Lite

Process the date variable and return a date object.

Parameters

Mixed date Required vs. 1.1.0 Full+Lite
The date to process. This can be a string (review ng.Date.from_string), object (review ng.Date.from_object or a JavaScript Date. Relative dates will be based on the use_dt variable which defaults to the start date. For example, if you pass "today" and the start date was last year, the returned date will be last year.
Date use_date (Optional - Default: Null) vs. 1.1.0 Full+Lite
An optional date to use as a reference to process relative dates. If Null, the start date will be used.

Return

Date Required vs. 1.1.0 Full+Lite
The processed date object.

API Menu