AddWeeks (PQL)
                                    Returns a date-time value that is the number of weeks prior to or after the specified date-time value.
- Returned Output: Date-Time
 - Library: PQL \ Common \ Date-Time
 - Version: 2018.00.000
 - Compatibility: 
- Can be combined with and other PQL function throughout the application.
 - It CANNOT be used with MDX or VBA functions. But it can be used on MDX-based content in other parts of the application.
 
 
Syntax
AddWeeks( <Date-Time> ,  <Week Integer> )
                                    
                                    * Click on the function's arguments above for more details on the input values.
Comments
- The date time value can be any element that resolves to a date-time value.
 - Use a positive week integer to count weeks forward from the given date, in order to return a date after the given date.
 - Use negative week integers to return a specified date prior to the given date.
 
Different Function types
- To use a AddWeeks date-time operation on a date-time member, use the Semantic library function.
 
Examples
This example adds 3 weeks to the date "2014-Jun-14" - returning July 5 2014
AddYears(StringToDate("2014-06-14"), 3 )