On this page you can find information about the 'Moving Operation' files and you can download them.

Moving Operations are one of the very strong points of the PTBSync program.

All the days in the files have rules to calculate them, but sometimes there are also exceptions.

Example: In France Mother Day is on the last Sunday in May, BUT if day happens to be Pentecost, Mother Day is moved to the 1st Sunday in June (which is the next Sunday).

The Moving Operation files solve those problems, they are only executed under fixed conditions (the same as "IF", "THEN").

Here is a list of all the MovingOperation files in use for displaying all the chapters made for the PTBSyn program. The MovingOperation files included in the program and the MovingOperation files I made for the additional chapters on this website.

This page permits you to see what happens when the program (automatically) uses these files.

It can also be usefull if you make yourself your own chapters and perhaps you need a MovingOperation to solve the exceptions.

Normally all these files (except the rare very new ones) are included (and automatically installed) with the PTBSyn program.

All these files are included in my ZIP-files, or they can one-by-one be downloaded from all different pages and also from this page.

**If you want to use a MovingOperation file, simply place it in the 'holidays' directory on your PC.
[Usually C:\Program Files\PTBSync\Holidays]**

Moving Operation information | |||||
---|---|---|---|---|---|

Filename (point right and 'save file as') |
Content |
Condition (IF: what is the condition) |
Result (THEN: what happens if the condition is met) |
||

ACT | Tu=-1 We=-2 Th=-3 Fr=+10 Sa=+9 Su=+8 |
IF the day is a Tuesday, Wednesday or Thursday | THEN: go to the preceding Monday | ||

IF the day is a Friday, Saturday or Sunday | THEN: go to the 2nd next Monday Australian Capital Territory - Family & Community Day on the first Monday of the September/October school holidays (27.9.>03.10.), if the first Monday of the end-of-term-three school holiday break is Labour Day, it is moved to the second Monday of the end-of-term-three school holiday break. This MovingOperation has movements needed for the date of 30.9. | ||||

ARG | Tu=-1 We=-2 Th=+4 Fr=+3 Sa=+2 Su=+1 |
IF the day is a Tuesday or Wednesday | THEN: go to the preceding Monday | ||

IF the day is a Thursday, Friday, Saturday or Sunday | THEN: go to the next Monday Used in Argentinia from 1988 till 2010 (included) | ||||

A lot of MovingOperation files for the Easter time, due to religious rules specifying that other (fixed-date) celebration days must always be moved outside the week preceding and the week following Easter | |||||

B01 | ES=+1 | IF the day is Easter | THEN: go to the next Monday (or add 1 day) | ||

B02 | ES=+2 | IF the day is Easter | THEN: go to the next Tuesday (or add 2 days) | ||

B03 | ES=+3 | IF the day is Easter | THEN: go to the next Wednesday (or add 3 days) | ||

B04 | ES=+4 | IF the day is Easter | THEN: go to the next Thursday (or add 4 days) | ||

B05 | ES=+5 | IF the day is Easter | THEN: go to the next Friday (or add 5 days) | ||

B06 | ES=+6 | IF the day is Easter | THEN: go to the next Saturday (or add 6 days) | ||

B07 | ES=+7 | IF the day is Easter | THEN: go to the next Sunday (or add 7 days) | ||

B08 | ES=+8 | IF the day is Easter | THEN: go to the 2nd next Monday (or add 8 days) | ||

B09 | ES=+9 | IF the day is Easter | THEN: go to the 2nd next Tuesday (or add 9 days) | ||

B10 | ES=+10 | IF the day is Easter | THEN: go to the 2nd next Wednesday (or add 10 days) | ||

B11 | ES=+11 | IF the day is Easter | THEN: go to the 2nd next Thursday (or add 11 days) | ||

B12 | ES=+12 | IF the day is Easter | THEN: go to the 2nd next Friday (or add 12 days) | ||

B13 | ES=+13 | IF the day is Easter | THEN: go to the 2nd next Saturday (or add 13 days) | ||

B14 | ES=+14 | IF the day is Easter | THEN: go to the 2nd next Sunday (or add 14 days) | ||

B15 | ES=+15 | IF the day is Easter | THEN: go to the 3rd next Monday (or add 15 days) | ||

B21 | ES=+21 | IF the day is Easter | THEN: go to the 3nd next Sunday (or add 21 days) | ||

BCH | Tu=-1 We=-2 Th=+3 Fr=+2 Sa=+1 |
IF the day is a Tuesday or Wednesday | THEN: go to the preceding Monday | ||

IF the day is a Thursday, Friday or Saturday | THEN: go to the next Sunday | ||||

BFB | Mo=-3 Tu=-4 Sa=-1 Su=-2 |
IF the day is a Monday or Tuesday | THEN: go to the preceding Friday | ||

IF the day is a Saturday or Sunday | THEN: go to the preceding Friday | ||||

BFE | We=+4 Th=+3 Fr=+2 Sa=+1 |
IF the day is a Wednesday, Thursday, Friday or Saturday | THEN: go to the next Sunday | ||

BFM | Fr=+1 | IF the day is a Friday | THEN: go to the next Saturday (or add 1 day) | ||

CAN | Tu=-1 We=-2 Th=-3 Fr=-4 Sa=+2 Su=+1 |
IF the day is a Tuesday, Wednesday, Thursday or Friday | THEN: go to the preceding Monday | ||

IF the day is a Saturday or Sunday | THEN: go to the next Monday | ||||

CHI | Tu=-1 We=-2 Th=-3 Fr=+3 |
IF the day is a Tuesday, Wednesday or Thursday | THEN: go to the preceding Monday | ||

IF the day is a Friday | THEN: go to the next Monday (or add 3 days) | ||||

CH1 | Tu=-4 We=+2 |
IF the day is a Tuesday | THEN: go to the preceding Friday (or subtract 4 days) | ||

IF the day is a Wednesday | THEN: go to the next Friday (or add 2 days) | ||||

DCH | Tu=+5 We=+4 Th=+3 Fr=+2 Sa=+1 Su=+1 |
IF the day is a Tuesday, Wednesday, Thursday, Friday or Saturday | THEN: go to the next Sunday | ||

IF the day is a Sunday | THEN: go to the next Monday (or add 1 day) | ||||

DJB | Mo=-3 | IF the day is a Monday | THEN: go to the preceding Friday (or subtract 3 days) | ||

ECD | Tu=+3 We=+2 Th=+1 |
IF the day is a Tuesday, Wednesday or Thursday | THEN: go to the next Friday Used in Ecuador |
||

EMI | Tu=+6 We=+5 Th=+4 Fr=+3 Sa=+2 Su=+1 |
IF the day is a Tuesday, Wednesday, Thursday, Friday, Saturday or Sunday | THEN: go to the next Monday Used in Colombia, & many other Latin American countries |
||

A lot of MovingOperation files for the Easter time, due to religious rules specifying that other (fixed-date) celebration days must always be moved outside the week preceding and the week following Easter | |||||

F01 | ES=-1 | IF the day is Easter | THEN: go to the preceding Saturday (or subtract 1 day) | ||

F02 | ES=-2 | IF the day is Easter | THEN: go to the preceding Friday (or subtract 2 days) | ||

F03 | ES=-2 | IF the day is Easter | THEN: go to the preceding Thursday (or subtract 3 days) | ||

F04 | ES=-4 | IF the day is Easter | THEN: go to the preceding Wednesday (or subtract 4 days) | ||

F05 | ES=-5 | IF the day is Easter | THEN: go to the preceding Tuesday (or subtract 5 days) | ||

F06 | ES=-6 | IF the day is Easter | THEN: go to the preceding Monday (or subtract 6 days) | ||

F07 | ES=-7 | IF the day is Easter | THEN: go to the preceding Sunday - Palmsunday (or subtract 7 days) | ||

F08 | ES=-8 | IF the day is Easter | THEN: go to the 2nd preceding Saturday (or subtract 8 days) | ||

F09 | ES=-9 | IF the day is Easter | THEN: go to the 2nd preceding Friday (or subtract 9 days) | ||

F10 | ES=-10 | IF the day is Easter | THEN: go to the 2nd preceding Thursday (or subtract 10 days) | ||

F11 | ES=-11 | IF the day is Easter | THEN: go to the 2nd preceding Wednesday (or subtract 11 days) | ||

F12 | ES=-12 | IF the day is Easter | THEN: go to the 2nd preceding Tuesday (or subtract 12 days) | ||

F14 | ES=-14 | IF the day is Easter | THEN: go to the 2nd preceding Sunday (or subtract 14 days) | ||

F21 | ES=-21 | IF the day is Easter | THEN: go to the 3rd preceding Sunday (or subtract 21 days) | ||

FAW | Sa=+5 Su=+4 |
IF the day is a Saturday or Sunday (weekend) | THEN: go to the next Thursday | ||

FFB | Mo=-5 Tu=-4 We=-1 Th=-2 Fr=-2 Sa=-3 Su=-4 |
IF the day is a Monday, Friday, Saturday or Sunday | THEN: go to the preceding Wednesday | ||

IF the day is a Tuesday | THEN: go to the preceding Friday (or subtract 4 days) | ||||

IF the day is a Wednesday or Thursday | THEN: go to the preceding Tuesday | ||||

FFE | We=+4 Th=+3 Fr=+2 Sa=+1 |
IF the day is a Wednesday, Thursday, Friday or Saturday | THEN: go to the next Sunday | ||

FMB | Mo=-5 Tu=-4 Sa=-2 Su=-2 |
IF the day is a Monday | THEN: go to the preceding Wednesday (or subtract 5 days) | ||

IF the day is a Tuesday | THEN: go to the preceding Friday (or subtract 4 days) | ||||

IF the day is a Saturday | THEN: go to the preceding Thursday (or substract 2 days) | ||||

IF the day is a Sunday | THEN: go to the preceding Friday (ro substract 2 days) | ||||

FME | We=+4 Th=+3 Fr=+3 Sa=+1 |
IF the day is a Wednesday, Thursday or Saturday | THEN: or go to the next Sunday | ||

IF the day is a Friday | THEN: go to the next Monday (or add 3 days) | ||||

G07 | OxES=-7 | IF the day is Orthodox Easter | THEN: go to the preceding Sunday - Orthodox Palmsunday (or subtract 7 days) | ||

GPF | Tu=-2 We=-3 Th=-4 Fr=+2 Sa=+1 |
IF the day is a Tuesday, Wednesday or Thursday | THEN: go to the preceding Sunday | ||

IF the day is a Friday or Saturday | THEN: go to the next Sunday | ||||

HOF | Mo=-1 Tu=-2 We=-3 Th=-4 Sa=+1 |
IF the day is a Monday, Tuesday, Wednesday or Thursday | THEN: go to the preceding Sunday | ||

IF the day is a Saturday | THEN: go to the next Sunday (or add 1 day) | ||||

JEW | Fr=-1 Sa=-2 Su=+1 |
IF the day is a Friday or Saturday | THEN: go to the preceding Thursday | ||

IF the day is a Sunday | THEN: go to the next Monday (or add 1 day) | ||||

JME | We=+4 Th=+3 Fr=+2 Sa=+1 |
IF the day is a Wednesday, Thursday, Friday or Saturday | THEN: go to the next Sunday | ||

KTF | Th=-3 Fr=-4 Sa=-5 Su=-6 |
IF the day is a Thursday, Friday, Saturday or Sunday | THEN: go to the preceding Monday | ||

LLF | We=+3 Th=+2 Fr=+2 Sa=+1 |
IF the day is a Wednesday or Thursday | THEN: go to the next Saturday | ||

IF the day is a Friday or Saturday | THEN: go to the next Sunday | ||||

LUK | Mo=-3 Tu=-4 Sa=-1 Su=-2 |
IF the day is a Monday or Tuesday | THEN: go to the preceding Friday | ||

IF the day is a Saturday or Sunday | THEN: go to the preceding Friday | ||||

LUX | Su=+1 | IF the day is a Sunday | THEN: go to the next Monday (or add 1 day) | ||

LU2 | Su=+2 | IF the day is a Sunday | THEN: go to the next Tuesday (or add 2 days) | ||

LVC | Mo=-1 Tu=-2 We=-3 Th=-4 Fr=-5 |
IF the day is a Weekday (Monday > Friday) | THEN: go to the preceding Sunday | ||

MKZ | Su=-7 | IF the day is a Sunday | THEN: go to the preceding Sunday (or subtract 7 days) | ||

MVD | Sa=-1 Su=+1 |
IF the day is a Saturday | THEN: go to the preceding Friday (or subtract 1 day) | ||

IF the day is a Sunday | THEN: go to the next Monday (or add 1 day) | ||||

MVU | Sa=+2 Su=+1 |
IF the day is a Saturday or Sunday | THEN: go to the next Monday | ||

N01 | Mo=-2 Tu=-3 We=-4 Th=-5 Fr=0 Su=-1 |
IF the day is a Monday, Tuesday, Wednesday or Thursday | THEN: go to the preceding Saturday | ||

IF the day is a Friday | THEN: Don't display this line | ||||

IF the day is a Sunday | THEN: go to the preceding Saturday (or subtract 1 day) | ||||

N02 | Mo=0 Tu=0 We=0 Th=0 Fr=+1 Sa=0 Su=0 |
IF the day is a Monday, Tuesday, Wednesday, Thursday, Saturday or Sunday | THEN: Don't display this line | ||

IF the day is a Friday | THEN: go to the next Saturday (or add 1 day) | ||||

NBD | Tu=0 We=0 Th=0 Sa=0 Su=0 |
IF the day is a Tuesday, Wednesday, Thursday, Saturday or Sunday | THEN: Don't display this line Or display this line only if the day is a Monday or Friday
| ||

Not to display Except (NE#) if Monday (1), .., Weekend, Long weekend | |||||

NE1 | Tu=0 We=0 Th=0 Fr=0 Sa=0 Su=0 |
IF the day is a Tuesday, Wednesday, Thursday, Friday, Saturday or Sunday | THEN: Don't display this line Or display this line only if the day is a Monday
| ||

NE2 | Mo=0 We=0 Th=0 Fr=0 Sa=0 Su=0 |
IF the day is a Monday, Wednesday, Thursday, Friday, Saturday or Sunday | THEN: Don't display this line Or display this line only if the day is a Tuesday
| ||

NE3 | Mo=0 Tu=0 Th=0 Fr=0 Sa=0 Su=0 |
IF the day is a Monday, Tuesday, Thursday, Friday, Saturday or Sunday | THEN: Don't display this line Or display this line only if the day is a Wednesday
| ||

NE4 | Mo=0 Tu=0 We=0 Fr=0 Sa=0 Su=0 |
IF the day is a Monday, Tuesday, Wednesday, Friday, Saturday or Sunday | THEN: Don't display this line Or display this line only if the day is a Thursday
| ||

NE5 | Mo=0 Tu=0 We=0 Th=0 Sa=0 Su=0 |
IF the day is a Monday, Tuesday, Wednesday, Thursday, Saturday or Sunday | THEN: Don't display this line Or display this line only if the day is a Friday
| ||

NE6 | Mo=0 Tu=0 We=0 Th=0 Fr=0 Su=0 |
IF the day is a Monday, Tuesday, Wednesday, Thursday, Friday or Sunday | THEN: Don't display this line Or display this line only if the day is a Saturday
| ||

NE7 | Mo=0 Tu=0 We=0 Th=0 Fr=0 Sa=0 |
IF the day is a Monday, Tuesday, Wednesday, Thursday, Friday or Saturday | THEN: Don't display this line Or display this line only if the day is a Sunday
| ||

NEL | Mo=0 Tu=0 We=0 Th=0 |
IF the day is a Monday, Tuesday, Wednesday or Thursday | THEN: Don't display this line Or display this line only if the day is a Friday, Saturday or Sunday (Long weekend)
| ||

NEW | Mo=0 Tu=0 We=0 Th=0 Fr=0 |
IF the day is a Monday, Tuesday, Wednesday, Thursday or Friday | THEN: Don't display this line Or display this line only if the day is a Saturday or Sunday (Weekend)
| ||

NFH | We=0 Sa=0 Su=0 |
IF the day is a Wednesday, Saturday or Sunday | THEN: Don't display this line Or display this line only if the day is a Monday, Tuesday, Thursday or Friday | ||

NLD | Su=-1 | IF the day is a Sunday | THEN: go to the preceding Saturday (or subtract 1 day) | ||

NL2 | Su=-2 | IF the day is a Sunday | THEN: go to the preceding Friday (or subtract 2 days) | ||

NL3 | Su=-3 | IF the day is a Sunday | THEN: go to the preceding Thursday (or subtract 3 days) | ||

Not to display if MOnday, SUnday, TUesday, WeeKend, LongWeekend | |||||

NMO | Mo=0 | IF the day is a Monday | THEN: Don't display this line Or display this line only if the day is a Tuesday, Wednesday, Thursday, Friday, Saturday or Sunday | ||

NTU | Tu=0 | IF the day is a Tuesday | THEN: Don't display this line Or display this line only if the day is a Monday, Wednesday, Thursday, Friday, Saturday or Sunday | ||

NWE | We=0 | IF the day is a Wednesday | THEN: Don't display this line Or display this line only if the day is a Monday, Tuesday, Thursday, Friday, Saturday or Sunday | ||

NTH | Tu=0 | IF the day is a Thursday | THEN: Don't display this line Or display this line only if the day is a Monday, Tuesday, Wednesday, Friday, Saturday or Sunday | ||

NFR | Tu=0 | IF the day is a Friday | THEN: Don't display this line Or display this line only if the day is a Monday, Tuesday, Wednesday, Thursday, Saturday or Sunday | ||

NSA | Tu=0 | IF the day is a Saturday | THEN: Don't display this line Or display this line only if the day is a Monday, Tuesday, Wednesday, Thursday, Friday or Sunday | ||

NSU | Su=0 | IF the day is a Sunday | THEN: Don't display this line Or display this line only if the day is a Monday, Tuesday, Wednesday, Thursday, Friday or Saturday | ||

NWK | Sa=0 Su=0 |
IF the day is a Saturday or Sunday (WeeKend) | THEN: Don't display this line Or display this line only if the day is a Monday, Tuesday, Wednesday, Thursday or Friday | ||

NLW | Fr=0 Sa=0 Su=0 |
IF the day is a Friday, Saturday or Sunday (Long Weekend) | THEN: Don't display this line Or display this line only if the day is a Monday, Tuesday, Wednesday or Thursday | ||

To discover if a date is Easter, if Easter the result can not be a Sunday, if the result still is a Sunday that date is certainly not Easter, if the result is a Wednesday it was Easter. Always to be used in combination with (or followed by) other MovingOperation files (* OE1+4Dy*NE7 = only displayed when Easter) | |||||

OE1 | We=-4 Es=-4 |
IF the day is a Wednesday | THEN: go to the preceding Saturday (or substract 4 days) | ||

IF the day is Easter | THEN: go to the preceding Wednesday (or substract 4 days) | ||||

OE2 | We=-4 OxEs=-4 |
IF the day is a Wednesday | THEN: go to the preceding Saturday (or substract 4 days) | ||

IF the day is Orthodox Easter | THEN: go to the preceding Wednesday (or substract 4 days) | ||||

OEH | Mo=-2 Tu=-3 We=-4 Th=-5 Su=-1 |
IF the day is a Monday, Tuesday, Wednesday or Thursday | THEN: go to the preceding Saturday | ||

IF the day is a Sunday | THEN: go to the preceding Saturday (or subtract 1 day) | ||||

OKF | We=+4 Th=+3 Fr=+2 Sa=+1 |
IF the day is a Wednesday, Thursday, Friday or Saturday | THEN: go to the next Sunday | ||

PEN | Mo=-4 We=-1 Fr=-1 Sa=-2 Su=-3 |
IF the day is a Monday, Friday, Saturday or Sunday | THEN: go to the preceding Thursday | ||

IF the day is a Wednesday | THEN: go to the preceding Tuesday (or subtract 1 day) | ||||

RMO | Tu=-1 We=-2 Th=-3 Fr=-4 Sa=-5 Su=-6 |
IF the day is a Tuesday, Wednesday, Thursday, Friday, Saturday or Sunday | THEN: go to the preceding Monday | ||

SFM | Tu=+5 We=+4 Th=+3 Fr=+2 Sa=+1 |
IF the day is a Tuesday, Wednesday, Thursday, Friday or Saturday | THEN: go to the next Sunday | ||

SHB | Fr=+2 Sa=+1 |
IF the day is a Friday or Saturday | THEN: go to the next Sunday | ||

SHE | Su=-1 Mo=-2 Tu=-3 |
IF the day is a Sunday, Monday or Tuesday | THEN: go to the preceding Saturday | ||

SNM | Mo=-2 Tu=+4 We=+3 Su=-1 |
IF the day is a Sunday or Monday | THEN: go to the preceding Saturday | ||

IF the day is a Tuesday or Wednesday | THEN: go to the next Saturday | ||||

SRD | Th=+1 Fr=+1 Sa=+2 Su=+1 |
IF the day is a Thursday | THEN: go to the next Friday (or add 1 day) | ||

IF the day is a Friday | THEN: go to the next Saturday (or add 1 day) | ||||

IF the day is a Saturday or Sunday | THEN: go to the next Monday | ||||

UED | Sa=-1 Su=+1 |
IF the day is a Saturday | THEN: go to the preceding Friday (or subtract 1 day) | ||

IF the day is a Sunday | THEN: go to the next Monday (or add 1 day) | ||||

URU | Tu=-1 We=-2 Th=+4 Fr=+3 |
IF the day is a Tuesday or a Wednesday | THEN: go to the preceding Monday | ||

IF the day is a Thursday or Friday | THEN: go to the next Monday | ||||

UTD | Fr=+3 Sa=+2 Su=+2 |
IF the day is a Friday or Saturday | THEN: go to the next Monday | ||

IF the day is a Sunday | THEN: go to the next Tuesday (or add 2 days) | ||||

WDH | We=-1 Fr=-1 Sa=-2 Su=-3 |
IF the day is a Wednesday | THEN: go to the preceding Tuesday (or subtract 1 day) | ||

IF the day is a Friday, Saturday or Sunday | THEN: go to the preceding Tuesday | ||||

WEV | Sa=-1 Su=-2 |
IF the day is a Saturday or Sunday | THEN: go to the preceding Friday | ||

ZOM | Sa=+1 | IF the day is a Saturday | THEN: go to the next Sunday (or add 1 day) |

Contact

You can contact me in English or Dutch on my e-mail: **dewaelheyns(a)Gmail.com** with suggestions, remarks, corrections, …

Basic information

If you are curious about (some of) the information used to make the chapters, you can look in the mentioned Directory.

BUT this is basic information, it can be in different languages, and there is no special layout.

To the basic information

And for if you like to make your own solutions: Tips and Tricks

To the start page

To the English page