Framework:TimeDimAdd

From CoPlanner 10
Jump to navigationJump to search

Function

TimeDimAdd(<DateType>,<Interval>,<DateID>,[Format])

Parameter Description
DateType Q, W, M, D, Y
Interval Integer (positive or negative)
DateID ID to be moved
Format Optional. Format of the return value. All date formats are supported. If no Format is availeable, the ID will be returned.

Result

Returns the moved ID or date format. If no Format is availeable, the ID will be returned.


Example

TimeDimAdd(M,-12,2010010101,yyyy)
Result: 2009