You are on page 1of 6

Ordinal Date Calendar

Year: 2004

Leap Year? Yes


To calculate the Julian Day Number, add the day-of-year to:
Day
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

Jan
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

Feb
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

Mar
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91

Apr
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121

May
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152

Jun
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182

Jul
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213

Aug
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244

Sep
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274

2453004.5
Oct
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305

Nov
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335

Dec
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366

Ordinal Date Calendar

Year: 2004

Year 2004 in the Gregorian calendar.


Leap Year? Yes
To calculate the Julian Day Number, add the day of year to:
January 2004
S

11

12

13

18

19

20

25

26

27

Th

1
8

14
21

February 2004

2453004.5
March 2004

Sa

Th

Sa

32

33

34

35

36

37

38

10

39

40

41

42

43

44

45

67

15

16

17

46

47

48

49

50

51

52

22

23

24

53

54

55

56

57

58

59

28

29

30

31

60

Th

Sa

92

93

94

April 2004

95

96

97

98

May 2004
S

Th

Sa

Th

Sa

61

62

63

64

65

66

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

Th

Sa

June 2004
S

122

153 154 155 156 157

99 100 101

123 124 125 126 127 128 129

158 159 160 161 162 163 164

102 103 104 105 106 107 108

130 131 132 133 134 135 136

165 166 167 168 169 170 171

109 110 111 112 113 114 115

137 138 139 140 141 142 143

172 173 174 175 176 177 178

116 117 118 119 120 121

144 145 146 147 148 149 150

179 180 181 182

151 152

July 2004
S

Th

Sa

August 2004
S

Th

Sa

September 2004
S

Th

Sa

183 184 185

214 215 216 217 218 219 220

245 246 247 248

186 187 188 189 190 191 192

221 222 223 224 225 226 227

249 250 251 252 253 254 255

193 194 195 196 197 198 199

228 229 230 231 232 233 234

256 257 258 259 260 261 262

200 201 202 203 204 205 206

235 236 237 238 239 240 241

263 264 265 266 267 268 269

207 208 209 210 211 212 213

242 243 244

270 271 272 273 274

October 2004

November 2004

10

Th

Sa

Th

11

Sa

December 2004
S

Th

12

Sa

275 276

306 307 308 309 310 311

336 337 338 339

277 278 279 280 281 282 283

312 313 314 315 316 317 318

340 341 342 343 344 345 346

284 285 286 287 288 289 290

319 320 321 322 323 324 325

347 348 349 350 351 352 353

291 292 293 294 295 296 297

326 327 328 329 330 331 332

354 355 356 357 358 359 360

298 299 300 301 302 303 304

333 334 335

361 362 363 364 365 366

305

Ordinal Date ("Day of the Year") Conversions


Ordinal Dates in the form yyddd or yyyydd
Reference:
http://support.microsoft.com/?kbid=214099
Note: The unofficial use of the term "Julian date" often refers to the date format yyddd (or yyyyddd
where ddd is the number of days since the beginning of the year. The official term for "day of the year"
is "Ordinal Date".
Example: Feb 2, 2005 would be 05033. Leading zeros are required.
Note that standard Excel dates are only defined for dates after January 1, 1900.
Convert a Standard Date to "yyddd" or "yyyyddd"
text
text numeric
Date
yyddd
yyyyddd yyyyddd
3/5/04
04065
2004065 2004065
12/31/1899
99365
1899365 1899365
Convert a Date formatted as "yyddd" or "yyyyddd" to a Standard Date
Century:
yyddd
05246
05209

1900
Date
9/3/1905
28-Jul-05

yyyyddd
2005246
2005209

Date
9/3/2005
28-Jul-05

Calculate Number of Days Since Beginning of Current Year


Days since 1/1/2011

230

Calculate Number of Days Left in the Current Year


Days until 12/31/2011

135

(or yyyyddd)
day of the year"

Julian Calendar Date Conversion


Julian Dates Calculated as # of Days Since Noon (UT), Jan 1, 4713 BC
Note that UT (Universal Time) is typically known as GMT (Greenwich Mean Time)
Reference:
http://scienceworld.wolfram.com/astronomy/JulianDate.html
http://aa.usno.navy.mil/data/docs/JulianDate.html
Convert a standard Excel Date to a Julian Date
year (Y)
month (M)
day (D)
Time:
Julian Dates:

hours (HH)
minutes (MM)
seconds (SS)
Time:

1582
1
21
0:00:00 UT (GMT)
2298890.5 For Gregorian Calendar dates between 1901-2099
2298893.5 For all AD dates in the Gregorian Calendar ( > 1582)
#VALUE! For AD dates in the Gregorian Calendar > 1902
2298873.5 For all Jan-1-yyyy AD years in the Gregorian Calendar
2
31
49
2:31:49

2:31 AM GMT (Greenwich Mean Time)

Day-Fraction

0.11 (HH+(MM+SS/60)/60)/24
0.11 Excel time value in number format

Julian Date:

2298893.61 For all AD dates in the Gregorian Calendar

Arrays and Names Used in the Calendars


startDate
isleapyear
isleapyear
months

1/1/2004
TRUE http://support.microsoft.com/?kbid=214019
TRUE
startDates

January

1/1/2004

February

2/1/2004

March

3/1/2004

April

4/1/2004

May

5/1/2004

June

6/1/2004

July

7/1/2004

August

8/1/2004

September

9/1/2004

October

10/1/2004

November

11/1/2004

December

12/1/2004

dayofyear

1
32
61
92
122
153
183
214
245
275
306
336

You might also like