Framework:TimeDimAdd: Difference between revisions

From CoPlanner 10
Jump to navigationJump to search
Created page with "==Function== TimeDimAdd(<DateType>,<Interval>,<DateID>,[Format]) {| cellspacing="1" cellpadding="3" width={{{breite|80%}}} border="1" |- | style=backg..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
==[[Framework:Functions|Function]]==
==[[Framework:Functions|Function]]==


TimeDimAdd(<DateType>,<Interval>,<DateID>,[Format])
<span {{CoPFormel}}>TimeDimAdd(<DateType>,<Interval>,<DateID>,[Format])</span>


{| cellspacing="1" cellpadding="3" width={{{breite|80%}}}  border="1"
{| class="wikitable" width="80%"
|-
|- {{Tabellentitel}}
| style=background-color:#f6f6f6 |'''Parameter'''
| Parameter  
| style=background-color:#f6f6f6 |'''Description'''
| Description
|-
|-
|DateType
|DateType
Line 20: Line 20:
|Optional. Format of the return value. All date formats are supported. If no Format is availeable, the ID will be returned.
|Optional. Format of the return value. All date formats are supported. If no Format is availeable, the ID will be returned.
|}
|}
This function belongs to [[:Category:Functions_-_client-side|client-side functions]].


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


==Example==
==Example==
TimeDimAdd(M,-12,2010010101,yyyy)<br>
<span {{CoPFormel}}>TimeDimAdd(M,-12,2010010101,yyyy)</span><br>
Result: 2009
Result: 2009


Line 32: Line 32:
__NOEDITSECTION__  
__NOEDITSECTION__  


[[Category:Functions|TimeDimAdd]]
[[Category:Functions - client-side|TimeDimAdd]]
[[Category:Functions - client-side|TimeDimAdd]]
[[de:Framework:TimeDimAdd]]
[[de:Framework:TimeDimAdd]]

Latest revision as of 08:52, 24 May 2012

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.

This function belongs to client-side functions.

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