These week tokens calculate the PAYE week number used by the British tax authorities, and included in most UK business diaries.
•PAYE week numbering starts at week 1 on April 6, regardless of the weekday, and restarts on April 6 of the following year.
•By default, the PAYE week number is only shown on the weekday when it changes (that is to say, the weekday of the most recent April 6), unless you use the show [paye] on every day GridOption.
•To display PAYE week numbers use the [paye] token, making sure that you have supplied a translation for the token [:paye] in the currently used language, even if that translation is blank (see the tips at the bottom of this topic).
Here are some examples to clarify matters (assuming the translation supplied for the token [:paye] was 'PAYE') :
Date |
Value of [paye] |
Saturday April 6, 2002 |
PAYE 1 |
Friday April 12, 2002 |
|
Saturday April 13, 2002 |
PAYE 2 |
Wednesday January 1, 2003 |
|
Saturday April 5, 2003 |
PAYE 53 |
Sunday April 6, 2003 |
PAYE 1 |
Some tips :
•To display only the number part of a PAYE token, set the translation of [:paye] to nothing (or use the &x token).
•If you do not want to display PAYE weeks but still use a GridTemplate which includes PAYE tokens, you can make sure the PAYE weeks do not appear by creating and using a child language in which there is no translation for the token [:paye] (not the same as having a blank translation in the point above).
The origin of the PAYE week odd starting date comes from the change to the Gregorian calendar as discussed here.
See also: German Zinstage tokens, Norwegian Rente days tokens, week tokens.
Topic 145900, last updated on 18-Oct-2026