Table of Contents

Calendar

Calendars help date entries to be simplified and for checks to be made.

Calendars indicate weekend dates and when public holidays fall. Technically, the calendar function consists of two elements: one or several “system calendars” and the corresponding “holiday calendar” per year.

Information on creating system and public holiday calendars can be found under “Maintaining System Calendars” and “Maintaining System Holidays”.

Date Entries

Date values can either be entered directly in the entry field or via a popup panel. The popup panel can be opened or closed with the button that is located right next to the entry field.

When accessing a calendar date the user has the option to open another of the currency-based calendar instead of the standard calendar, in order to inform oneself about the available holidays. In addition, the application provides another logical accessory. It affects, that the currency-based holiday calendar (which has the currency of the currently used transaction) will be used automatically as default, if there are value-based date fields in the entry mask. If there is no specific calendar available, the default calendar is used. If the user selects a holiday in a value field, the application additionally creates a warning. The window showing the calendar dates displays exactly, which calendar is currently being used. Because of this conception, instead of (or additional) currencies, also regions can be used to differentiate between the holiday calendars. For example, it is possible to create a holiday calendar 'Zurich'.

Selecting a Day via Panel

A day can either be selected by double-clicking the desired number or by entering the day (whether by keyboard or by mouse and pressing the [Enter] key afterwards). By using the two buttons at the top, the user can go one month forward or backward. The current day has a blue color, weekend days and freely definable holidays are red. The name of the holiday is displayed in the upper part of the panel.

In the lower part of the panel it is possible to add or to subtract a specific number of days. If the checkbox “Working Days” is checked, only the weekdays are used for the calculation.

When the mouse pointer is moved over the small arrow, an additional small popup panel is displayed. Another calendar for calculating dates can be selected here. If another calendar is selected as default calendar, the calendar name is displayed in “italic” characters. All calendars have to be defined in the file TDPARA.INI.

Entering the Date in the Entry Field

The date can directly be entered in the entry field as well. In this connection the order Day - Month - Year is defined in the format string of each calendar.
Possible entries: Missing month or year entries are added automatically with the current month / year. If the year is specified just as 2-digit entry, years < 50 are added with 2000 and years >= 50 with 1900.

Special Functions in the Entry Field

The following special entries are possible:

Function Description
* Today
*<Value> Today + <Value> Working Days
*+<Value> Today + <Value> Working Days
*-<Value> Today - <Value> Working Days
+<Value> Today + <Value> Days
-<Value> Today - <Value> Days
<Date>+<Value> Date + <Value> Days
<Date>-<Value> Date - <Value> Days
<Date>*<Value> Date + <Value> Working Days
<Date>*+<Value> Date + <Value> Working Days
<Date>*-<Value> Date - <Value> Working Days
:YYMMDD<optional */+/-<Value» SWIFT entry format
/YYMMDD<optional */+/-<Value» SWIFT entry format