|
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 When to use 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
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. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types obj An object to be coerced into a Date. String Number year {__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." Number month 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. Number day 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. Number
Returns:
Examples
Argument Types
Date
String
Number
How do I contact the AIS team?