Framework:FKT TimeDimDatePart: Difference between revisions
From CoPlanner 11
Jump to navigationJump to search
Created page with "==Funktion== Available from CoP 10 HF 1.5 <span {{CoPFormel}}>FKT_TimeDimDatePart(<Time interval>,<ID of the time dimension>)</span> {| cla..." |
No edit summary |
||
| Line 1: | Line 1: | ||
==[[Framework: | ==[[Framework:Formulae#Functions|Function]]== | ||
Available from CoP 10 HF 1.5 | Available from CoP 10 HF 1.5 | ||
Latest revision as of 10:55, 6 August 2020
Function
Available from CoP 10 HF 1.5
FKT_TimeDimDatePart(
| Parameter | Description |
| Time interval | Y for year, Q for quarter, M for month or D for day are supported |
| ID of the time dimension | COPSYS_ID of the time dimension |
This function belongs to server-side functions.
Result
Returns the choosen interval for the element of the time dimension.
Examples
FKT_TimeDimDatePart(Y,2010050304) returns the year -> 2010
FKT_TimeDimDatePart(Q,2010050304) returns the quarter -> 2
FKT_TimeDimDatePart(M,2010050304) returns the month -> 5
FKT_TimeDimDatePart(D,2010050304) returns the day -> 3