Description
Converts a date into an item of a Calendar Dimension.
Syntax
TIMEDIM(Date, Time Dimension)
Date
can be stored in a Metric or List Property with theDate
data typeDate
can also be calculated by using theDATE
function, for example (DATE(2020, 12, 31)
)Time Dimension
based on the calendar setting for your application; choose one of the following dimensionsDay
,Week
,Month
,Quarter
,Year
Return type
same dimension as Time Dimension
Examples
Case | Results | Return Type |
---|---|---|
| returns | same dimension as |
| if Fiscal Year start in January, returns | same dimension as |
| returns the | same dimension as |
| returns the first | Dimension (Month) |
Excel equivalent: None
See also: ITEM
More of a hands-on learner?
Talk to your Customer Success Manager about downloading the Functions and Modifiers in Pigment Application into your workspace. It includes examples of every formula and modifier in Pigment!