List of Calendar Functions
The Calendar question type manipulates the internal calendar during interviews. There are 28 different functions available for this type of question. A calendar can be declared, initialized, marked or unmarked; it can be combined with others, or it can be displayed on the screen. Each function has a specific syntax. Details on the calendar functions are found below.
All Calendar syntax must have the parentheses "()" around the variables and each function must end with a semi-colon (;). The following list helps locate a particular function.
List of Calendar Functions
Below is a list of calendar functions with a brief explanation. To view a detailed description with syntax and examples click on one and jump to the Calendar Functions section.
| ADD YEARS | Add n years to a date |
| AGE (SINGLE) | Single age calculations |
| AGE (ARRAY) | Array age calculations |
| COMBINE | Combine calendar |
| CREATE | Create new calendar |
| DATE2DAY | Date conversion |
| DATE2WK | Date conversion |
| DAY2DATE | Date conversion |
| DIFFAGE | Calculate differences in dates |
| EXPANDDATE | Date expansion |
| FINDGAPS | Create gap table |
| FIXDAY | Repair a day in a date |
| FIXMONTH | Repair a month in a date |
| FIXYEAR | Repair a year in a date |
| GETSUBDATE | Extract part of a date |
| INIT | Initialize calendar |
| ISCOMPLETE | Check for a completed date |
| ISMARKED | Check range for marked dates |
| MARK | Mark segments |
| Display calendar | |
| STATUS | Check range for marked dates |
| UNMARK | Unmark Segments |
| WK2DATE | Date Conversion |