date
|
The date function converts a single argument {obj} to a Date.
Alternatively, the date function will convert year, month, and day into an
Analytic Information Server Date constant. The date must be in the range
10 Usage The date function is used to coerce an object to a Date object.
The Date object is represented as a julian number. To express the date as an
ASCII date constant in the : #Month,Day,Year, the string function can be used.
(date obj) (date year month day ) A Date representation of the argument
Expression:
Arguments
Name
Type
Description Argument: obj String Number
An object to be coerced into a Date. Argument: year Number
#{__content: "A year in the range 10" superscript: "15" __content: "BC to 10" superscript: "15" __content: "AD.
Years before Christ must be entered
as negative numbers."} Argument: month Number
A number representing the month of the year. If the number of months is greater
than 12, Analytic Information Server advances the excess months to the following year. Argument: day Number
A number representing the day of the month. If the day value is greater than the
number of days in the month you specify, Analytic Information Server advances the
extra days to the following month.
Returns:
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
Date | String | Number |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|