Template:Day of year index

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

Returns a day of year index (0-365) that is fixed to a given month and day. Meaning that for every combination of month and day the index will be the same in both leap and non leap years. Notably this will skip the index value of 59 (February 29) in non leap years.

Usage[edit]

{{day of year index}}
{{day of year index|<date>}}

Parameters[edit]

1 (unnamed parameter)
Optional. The date for which to return the fixed day of year index. The date can be specified in any format supported by #time. If not specified the current date is used.

Examples[edit]

* {{day of year index}}
* {{day of year index|2021-04-23}}

* {{day of year index|2020-01-01}}
* {{day of year index|2020-02-28}}
* {{day of year index|2020-02-29}}
* {{day of year index|2020-03-01}}
* {{day of year index|2020-12-31}}

* {{day of year index|2021-01-01}}
* {{day of year index|2021-02-28}}
* {{day of year index|2021-03-01}}
* {{day of year index|2021-12-31}}
  • 325
  • 113
  • 0
  • 58
  • 59
  • 60
  • 365
  • 0
  • 58
  • 60
  • 365

Return values[edit]

January
Day Index
1 0
2 1
3 2
4 3
5 4
6 5
7 6
8 7
9 8
10 9
11 10
12 11
13 12
14 13
15 14
16 15
17 16
18 17
19 18
20 19
21 20
22 21
23 22
24 23
25 24
26 25
27 26
28 27
29 28
30 29
31 30
February
Day Index
1 31
2 32
3 33
4 34
5 35
6 36
7 37
8 38
9 39
10 40
11 41
12 42
13 43
14 44
15 45
16 46
17 47
18 48
19 49
20 50
21 51
22 52
23 53
24 54
25 55
26 56
27 57
28 58
29 59
March
Day Index
1 60
2 61
3 62
4 63
5 64
6 65
7 66
8 67
9 68
10 69
11 70
12 71
13 72
14 73
15 74
16 75
17 76
18 77
19 78
20 79
21 80
22 81
23 82
24 83
25 84
26 85
27 86
28 87
29 88
30 89
31 90
April
Day Index
1 91
2 92
3 93
4 94
5 95
6 96
7 97
8 98
9 99
10 100
11 101
12 102
13 103
14 104
15 105
16 106
17 107
18 108
19 109
20 110
21 111
22 112
23 113
24 114
25 115
26 116
27 117
28 118
29 119
30 120
May
Day Index
1 121
2 122
3 123
4 124
5 125
6 126
7 127
8 128
9 129
10 130
11 131
12 132
13 133
14 134
15 135
16 136
17 137
18 138
19 139
20 140
21 141
22 142
23 143
24 144
25 145
26 146
27 147
28 148
29 149
30 150
31 151
June
Day Index
1 152
2 153
3 154
4 155
5 156
6 157
7 158
8 159
9 160
10 161
11 162
12 163
13 164
14 165
15 166
16 167
17 168
18 169
19 170
20 171
21 172
22 173
23 174
24 175
25 176
26 177
27 178
28 179
29 180
30 181
July
Day Index
1 182
2 183
3 184
4 185
5 186
6 187
7 188
8 189
9 190
10 191
11 192
12 193
13 194
14 195
15 196
16 197
17 198
18 199
19 200
20 201
21 202
22 203
23 204
24 205
25 206
26 207
27 208
28 209
29 210
30 211
31 212
August
Day Index
1 213
2 214
3 215
4 216
5 217
6 218
7 219
8 220
9 221
10 222
11 223
12 224
13 225
14 226
15 227
16 228
17 229
18 230
19 231
20 232
21 233
22 234
23 235
24 236
25 237
26 238
27 239
28 240
29 241
30 242
31 243
September
Day Index
1 244
2 245
3 246
4 247
5 248
6 249
7 250
8 251
9 252
10 253
11 254
12 255
13 256
14 257
15 258
16 259
17 260
18 261
19 262
20 263
21 264
22 265
23 266
24 267
25 268
26 269
27 270
28 271
29 272
30 273
October
Day Index
1 274
2 275
3 276
4 277
5 278
6 279
7 280
8 281
9 282
10 283
11 284
12 285
13 286
14 287
15 288
16 289
17 290
18 291
19 292
20 293
21 294
22 295
23 296
24 297
25 298
26 299
27 300
28 301
29 302
30 303
31 304
November
Day Index
1 305
2 306
3 307
4 308
5 309
6 310
7 311
8 312
9 313
10 314
11 315
12 316
13 317
14 318
15 319
16 320
17 321
18 322
19 323
20 324
21 325
22 326
23 327
24 328
25 329
26 330
27 331
28 332
29 333
30 334
December
Day Index
1 335
2 336
3 337
4 338
5 339
6 340
7 341
8 342
9 343
10 344
11 345
12 346
13 347
14 348
15 349
16 350
17 351
18 352
19 353
20 354
21 355
22 356
23 357
24 358
25 359
26 360
27 361
28 362
29 363
30 364
31 365