year
|
The year function returns the second portion of a Date argument. Usage The year function is used to extract the second component from a Date object.
(year dateObj ) (year dateStr ) (year Julian-date ) An Integer that represents the year component of the argument
Expression:
Arguments
Name
Type
Description Argument: dateObj Date
An Analytic Information Server Date value. Argument: dateStr Text
A Date in the form mm/dd/yyyy where mm is the month number, dd is the day of the
month and yyyy is the year. Argument: Julian-date Date
A Julian date with a fraction extension representing the time for that date.
The first two digits after the decimal point in the serial number correspond to
a fraction of a 24 hour day. For example 0.00 corresponds to 12:00 AM;
0.25 corresponds to 6:00 AM; 0.50 corresponds to 12:00 Noon and so on.
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 | Text | Number |
Integer |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|