See also: TDateConditionsRec.
Below are the values of the individual possible options of the 5 condition strings (Weekdays, Holidays Occurrences, Moon Phases, Days of the Month, Miscellaneous) saved in the TDateConditionsRec data structure and corresponding to the 5 categories of conditions of the special cases dialog.

The values of the individual characters used in the Weekdays category of special conditions, as saved in the XML TDateConditionsRec data structure, are listed in the table below.
char |
char index |
description |
1 |
49 |
Monday |
2 |
50 |
Tuesday |
3 |
51 |
Wednesday |
4 |
52 |
Thursday |
5 |
53 |
Friday |
6 |
54 |
Saturday |
7 |
55 |
Sunday |
The values of the individual characters used in the holidays occurrences category of special conditions, as saved in the XML TDateConditionsRec data structure, are listed in the table below.
char |
char index |
description |
a |
97 |
a-Holidays |
e |
101 |
e-Holidays |
i |
105 |
i-Holidays |
o |
111 |
o-Holidays |
u |
117 |
u-Holidays |
à |
224 |
Day before a-Holidays |
è |
232 |
Day before e-Holidays |
ì |
236 |
Day before i-Holidays |
ò |
242 |
Day before o-Holidays |
ù |
249 |
Day before u-Holidays |
á |
225 |
Day after a-Holidays |
é |
233 |
Day after e-Holidays |
í |
237 |
Day after i-Holidays |
ó |
243 |
Day after o-Holidays |
ú |
250 |
Day after u-Holidays |
The values of the individual characters used in the moon phases category of special conditions, as saved in the XML TDateConditionsRec data structure, are listed in the table below.
char |
char index |
description |
A |
65 |
Date of New Moon |
B |
66 |
Between NM and FQ |
C |
67 |
Date of First Quarter |
D |
68 |
Between FQ and FM |
E |
69 |
Date of Full Moon |
F |
70 |
Between FM and LQ |
G |
71 |
Date of Last Quarter |
H |
72 |
Between LQ and NM |
The values of the individual characters used in the days of the month category of special conditions, as saved in the XML TDateConditionsRec data structure, are listed in the table below.
char |
char index |
description |
A |
65 |
The 1st of the month |
B |
66 |
The 2nd of the month |
C |
67 |
The 3rd of the month |
D |
68 |
The 4th of the month |
E |
69 |
The 5th of the month |
F |
70 |
The 6th of the month |
G |
71 |
The 7th of the month |
H |
72 |
The 8th of the month |
I |
73 |
The 9th of the month |
J |
74 |
The 10th of the month |
K |
75 |
The 11th of the month |
L |
76 |
The 12th of the month |
M |
77 |
The 13th of the month |
N |
78 |
The 14th of the month |
O |
79 |
The 15th of the month |
P |
80 |
The 16th of the month |
Q |
81 |
The 17th of the month |
R |
82 |
The 18th of the month |
S |
83 |
The 19th of the month |
T |
84 |
The 20th of the month |
U |
85 |
The 21st of the month |
V |
86 |
The 22nd of the month |
W |
87 |
The 23rd of the month |
X |
88 |
The 24th of the month |
Y |
89 |
The 25th of the month |
Z |
90 |
The 26th of the month |
[ |
91 |
The 27th of the month |
\ |
92 |
The 28th of the month |
] |
93 |
The 29th of the month |
^ |
94 |
The 30th of the month |
_ |
95 |
The 31st of the month |
` |
96 |
Before month |
a |
97 |
After month |
b |
98 |
Inside month |
c |
99 |
In current week |
d |
100 |
In current spread |
e |
101 |
In same week as one of the current spread dates |
f |
102 |
Even day of the month |
g |
103 |
Odd day of the month |
h |
104 |
Alternating weeks |
i |
105 |
1-digit date (1-9) |
j |
106 |
2-digit date (10-31) |
k |
107 |
1-digit week (1-9) |
l |
108 |
2-digit week (10-53) |
m |
109 |
On the current day |
n |
110 |
1st of every 3 weeks |
o |
111 |
2nd of every 3 weeks |
p |
112 |
3rd of every 3 weeks |
q |
113 |
1st of every 4 weeks |
r |
114 |
2nd of every 4 weeks |
s |
115 |
3rd of every 4 weeks |
t |
116 |
4th of every 4 weeks |
u |
117 |
1st of every 6 weeks |
v |
118 |
2nd of every 6 weeks |
w |
119 |
3rd of every 6 weeks |
x |
120 |
4th of every 6 weeks |
y |
121 |
5th of every 6 weeks |
z |
122 |
6th of every 6 weeks |
The values of the individual characters used in the miscellaneous category of special conditions, as saved in the XML TDateConditionsRec data structure, are listed in the table below.
char |
char index |
description |
A |
65 |
First day of year |
B |
66 |
First Monday of year |
C |
67 |
First Tuesday of year |
D |
68 |
First Wednesday of year |
E |
69 |
First Thursday of year |
F |
70 |
First Friday of year |
G |
71 |
First Saturday of year |
H |
72 |
First Sunday of year |
I |
73 |
First day of month |
J |
74 |
First Monday of month |
K |
75 |
First Tuesday of month |
L |
76 |
First Wednesday of month |
M |
77 |
First Thursday of month |
N |
78 |
First Friday of month |
O |
79 |
First Saturday of month |
P |
80 |
First Sunday of month |
Q |
81 |
Last day of month |
R |
82 |
Last Monday of month |
S |
83 |
Last Tuesday of month |
T |
84 |
Last Wednesday of month |
U |
85 |
Last Thursday of month |
V |
86 |
Last Friday of month |
W |
87 |
Last Saturday of month |
X |
88 |
Last Sunday of month |
Y |
89 |
Last day of year |
Z |
90 |
Last Monday of year |
[ |
91 |
Last Tuesday of year |
\ |
92 |
Last Wednesday of year |
] |
93 |
Last Thursday of year |
^ |
94 |
Last Friday of year |
_ |
95 |
Last Saturday of year |
` |
96 |
Last Sunday of year |
a |
97 |
In 28 day month |
b |
98 |
In 29 day month |
c |
99 |
In 30 day month |
d |
100 |
In 31 day month |
e |
101 |
In even month |
f |
102 |
In odd month |
g |
103 |
First line generated |
h |
104 |
Last line generated |
i |
105 |
In January |
j |
106 |
In February |
k |
107 |
In March |
l |
108 |
In April |
m |
109 |
In May |
n |
110 |
In June |
o |
111 |
In July |
p |
112 |
In August |
q |
113 |
In September |
r |
114 |
In October |
s |
115 |
In November |
t |
116 |
In December |
u |
117 |
In month with 3 week changes |
v |
118 |
In month with 4 week changes |
w |
119 |
In month with 5 week changes |
x |
120 |
On a left page |
y |
121 |
On a right page |
z |
122 |
On an even page |
{ |
123 |
On an odd page |
Topic 189250, last updated on 03-Oct-2026