Julian Date Converter
A Julian date on a pack or a case is the day of the year, usually with the year in front: 25319 is 15 November 2025. Type the code to get the calendar date, or pick a date to get its code. The converter also reads the Julian Date that astronomers use.
By The eancheck teamPublished
Using an AI assistant?
How to read a code · Julian date calendar · The astronomy number
What a Julian date is: the year and the day of the year
On an egg carton or a ration case, a Julian date is the number of the day in the year, usually with the year in front. 1 January is day 001 and 31 December is day 365, or 366 in a leap year. The code 25319 is day 319 of 2025, which is 15 November 2025.
The form is short: five digits hold a year and a day. USDA grading procedures use the day number as the lot number on egg cartons with the grade shield, the US military prints it on ration cases and in requisition numbers, and Oracle's JD Edwards World stores dates as a century digit followed by the year and the day number.
The name is borrowed. Astronomers use Julian Date for a different number, a count of days that passed 2 460 000 in 2023. The EarthScope (formerly UNAVCO) geodesy glossary calls the packaging kind the day-of-year or ordinal date and notes that it is sometimes incorrectly called the Julian day. ISO 8601 writes an ordinal date as 2025-319. The converter reads both kinds and says which one it read.
How to read a Julian date code
Read the last three digits as the day of the year and the digits in front as the year. Then count the day number through the months: subtract the length of each month, starting with January, until what is left fits in a month. The code 25319 is year 25 and day 319, 15 November 2025.
Day number = days in the months before the date + day of the month
For 15 November 2025, the ten months before November come first:
31 + 28 + 31 + 30 + 31 + 30 + 31 + 31 + 30 + 31 + 15 = 319
The number of digits tells you how much of the year is in the code. The converter uses the same table.
| Digits, formForm | Example | Reads as |
|---|---|---|
| 3, DDD | 042 | 11 February, in any yearEgg cartons |
| 4, YDDD | 5045 | 14 February 2025, or ten years beforeMRE pouches and cases, military requisitions |
| 5, YYDDD | 25319 | 15 November 2025Mainframe files (IBM, SAS) |
| 6, CYYDDD | 125319 | 15 November 2025Oracle JD Edwards |
| 7, YYYYDDD | 2025319 | 15 November 2025ISO 8601, also written 2025-319 |
In the six-digit JD Edwards form the first digit is a century digit. Oracle adds it to 19, so 0 means the 1900s and 1 means the 2000s: 098185 is 4 July 1998 and 125319 is 15 November 2025. Oracle also lets the day number run past the end of the year, up to 731. Its own example, 099666, is day 666 counted from 1 January 1999, which is 27 October 2000.
Which year is it?
A code with one or two year digits does not say which decade or century it means, and we found no standard that sets a rule. The converter reads a two-digit year as a year from 89 years back to 10 years ahead, and a one-digit year as the latest year that ends in that digit and is not after this year, or the latest such leap year for day 366. It lists the other year under the result, so 5045 shows 14 February 2025 first and 14 February 2015 second.
What about a code with no year?
Three digits are a day number alone. Up to day 059, 28 February, the date is the same in every year. From day 060 on, a leap year is one day behind: day 319 is 15 November in a year of 365 days and 14 November in a leap year. The converter shows both.
Julian date calendar 2026: day numbers for every date
The first chart is for a year of 365 days, such as 2025, 2026 and 2027. Find the month at the top and the day at the side; the cell is the day number. The second chart is for leap years, such as 2024 and 2028, where every day after 28 February is one number higher. Both charts are made by the same code as the converter, and Print the chart puts each one on a page of its own.
Day of the year for any date
For a quick sum, the table below gives the day number of the first day of each month. Add the day of the month and subtract 1: 15 November is 305 + 15 - 1 = 319.
| Month | First day, year of 365 days | First day, leap year |
|---|---|---|
| January | 001 | 001 |
| February | 032 | 032 |
| March | 060 | 061 |
| April | 091 | 092 |
| May | 121 | 122 |
| June | 152 | 153 |
| July | 182 | 183 |
| August | 213 | 214 |
| September | 244 | 245 |
| October | 274 | 275 |
| November | 305 | 306 |
| December | 335 | 336 |
Julian date calendar for years of 365 days: 2025, 2026, 2027
| Day | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 001 | 032 | 060 | 091 | 121 | 152 | 182 | 213 | 244 | 274 | 305 | 335 |
| 2 | 002 | 033 | 061 | 092 | 122 | 153 | 183 | 214 | 245 | 275 | 306 | 336 |
| 3 | 003 | 034 | 062 | 093 | 123 | 154 | 184 | 215 | 246 | 276 | 307 | 337 |
| 4 | 004 | 035 | 063 | 094 | 124 | 155 | 185 | 216 | 247 | 277 | 308 | 338 |
| 5 | 005 | 036 | 064 | 095 | 125 | 156 | 186 | 217 | 248 | 278 | 309 | 339 |
| 6 | 006 | 037 | 065 | 096 | 126 | 157 | 187 | 218 | 249 | 279 | 310 | 340 |
| 7 | 007 | 038 | 066 | 097 | 127 | 158 | 188 | 219 | 250 | 280 | 311 | 341 |
| 8 | 008 | 039 | 067 | 098 | 128 | 159 | 189 | 220 | 251 | 281 | 312 | 342 |
| 9 | 009 | 040 | 068 | 099 | 129 | 160 | 190 | 221 | 252 | 282 | 313 | 343 |
| 10 | 010 | 041 | 069 | 100 | 130 | 161 | 191 | 222 | 253 | 283 | 314 | 344 |
| 11 | 011 | 042 | 070 | 101 | 131 | 162 | 192 | 223 | 254 | 284 | 315 | 345 |
| 12 | 012 | 043 | 071 | 102 | 132 | 163 | 193 | 224 | 255 | 285 | 316 | 346 |
| 13 | 013 | 044 | 072 | 103 | 133 | 164 | 194 | 225 | 256 | 286 | 317 | 347 |
| 14 | 014 | 045 | 073 | 104 | 134 | 165 | 195 | 226 | 257 | 287 | 318 | 348 |
| 15 | 015 | 046 | 074 | 105 | 135 | 166 | 196 | 227 | 258 | 288 | 319 | 349 |
| 16 | 016 | 047 | 075 | 106 | 136 | 167 | 197 | 228 | 259 | 289 | 320 | 350 |
| 17 | 017 | 048 | 076 | 107 | 137 | 168 | 198 | 229 | 260 | 290 | 321 | 351 |
| 18 | 018 | 049 | 077 | 108 | 138 | 169 | 199 | 230 | 261 | 291 | 322 | 352 |
| 19 | 019 | 050 | 078 | 109 | 139 | 170 | 200 | 231 | 262 | 292 | 323 | 353 |
| 20 | 020 | 051 | 079 | 110 | 140 | 171 | 201 | 232 | 263 | 293 | 324 | 354 |
| 21 | 021 | 052 | 080 | 111 | 141 | 172 | 202 | 233 | 264 | 294 | 325 | 355 |
| 22 | 022 | 053 | 081 | 112 | 142 | 173 | 203 | 234 | 265 | 295 | 326 | 356 |
| 23 | 023 | 054 | 082 | 113 | 143 | 174 | 204 | 235 | 266 | 296 | 327 | 357 |
| 24 | 024 | 055 | 083 | 114 | 144 | 175 | 205 | 236 | 267 | 297 | 328 | 358 |
| 25 | 025 | 056 | 084 | 115 | 145 | 176 | 206 | 237 | 268 | 298 | 329 | 359 |
| 26 | 026 | 057 | 085 | 116 | 146 | 177 | 207 | 238 | 269 | 299 | 330 | 360 |
| 27 | 027 | 058 | 086 | 117 | 147 | 178 | 208 | 239 | 270 | 300 | 331 | 361 |
| 28 | 028 | 059 | 087 | 118 | 148 | 179 | 209 | 240 | 271 | 301 | 332 | 362 |
| 29 | 029 | 088 | 119 | 149 | 180 | 210 | 241 | 272 | 302 | 333 | 363 | |
| 30 | 030 | 089 | 120 | 150 | 181 | 211 | 242 | 273 | 303 | 334 | 364 | |
| 31 | 031 | 090 | 151 | 212 | 243 | 304 | 365 | |||||
| Day | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
Julian date calendar for leap years: 2024, 2028, 2032
| Day | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 001 | 032 | 061 | 092 | 122 | 153 | 183 | 214 | 245 | 275 | 306 | 336 |
| 2 | 002 | 033 | 062 | 093 | 123 | 154 | 184 | 215 | 246 | 276 | 307 | 337 |
| 3 | 003 | 034 | 063 | 094 | 124 | 155 | 185 | 216 | 247 | 277 | 308 | 338 |
| 4 | 004 | 035 | 064 | 095 | 125 | 156 | 186 | 217 | 248 | 278 | 309 | 339 |
| 5 | 005 | 036 | 065 | 096 | 126 | 157 | 187 | 218 | 249 | 279 | 310 | 340 |
| 6 | 006 | 037 | 066 | 097 | 127 | 158 | 188 | 219 | 250 | 280 | 311 | 341 |
| 7 | 007 | 038 | 067 | 098 | 128 | 159 | 189 | 220 | 251 | 281 | 312 | 342 |
| 8 | 008 | 039 | 068 | 099 | 129 | 160 | 190 | 221 | 252 | 282 | 313 | 343 |
| 9 | 009 | 040 | 069 | 100 | 130 | 161 | 191 | 222 | 253 | 283 | 314 | 344 |
| 10 | 010 | 041 | 070 | 101 | 131 | 162 | 192 | 223 | 254 | 284 | 315 | 345 |
| 11 | 011 | 042 | 071 | 102 | 132 | 163 | 193 | 224 | 255 | 285 | 316 | 346 |
| 12 | 012 | 043 | 072 | 103 | 133 | 164 | 194 | 225 | 256 | 286 | 317 | 347 |
| 13 | 013 | 044 | 073 | 104 | 134 | 165 | 195 | 226 | 257 | 287 | 318 | 348 |
| 14 | 014 | 045 | 074 | 105 | 135 | 166 | 196 | 227 | 258 | 288 | 319 | 349 |
| 15 | 015 | 046 | 075 | 106 | 136 | 167 | 197 | 228 | 259 | 289 | 320 | 350 |
| 16 | 016 | 047 | 076 | 107 | 137 | 168 | 198 | 229 | 260 | 290 | 321 | 351 |
| 17 | 017 | 048 | 077 | 108 | 138 | 169 | 199 | 230 | 261 | 291 | 322 | 352 |
| 18 | 018 | 049 | 078 | 109 | 139 | 170 | 200 | 231 | 262 | 292 | 323 | 353 |
| 19 | 019 | 050 | 079 | 110 | 140 | 171 | 201 | 232 | 263 | 293 | 324 | 354 |
| 20 | 020 | 051 | 080 | 111 | 141 | 172 | 202 | 233 | 264 | 294 | 325 | 355 |
| 21 | 021 | 052 | 081 | 112 | 142 | 173 | 203 | 234 | 265 | 295 | 326 | 356 |
| 22 | 022 | 053 | 082 | 113 | 143 | 174 | 204 | 235 | 266 | 296 | 327 | 357 |
| 23 | 023 | 054 | 083 | 114 | 144 | 175 | 205 | 236 | 267 | 297 | 328 | 358 |
| 24 | 024 | 055 | 084 | 115 | 145 | 176 | 206 | 237 | 268 | 298 | 329 | 359 |
| 25 | 025 | 056 | 085 | 116 | 146 | 177 | 207 | 238 | 269 | 299 | 330 | 360 |
| 26 | 026 | 057 | 086 | 117 | 147 | 178 | 208 | 239 | 270 | 300 | 331 | 361 |
| 27 | 027 | 058 | 087 | 118 | 148 | 179 | 209 | 240 | 271 | 301 | 332 | 362 |
| 28 | 028 | 059 | 088 | 119 | 149 | 180 | 210 | 241 | 272 | 302 | 333 | 363 |
| 29 | 029 | 060 | 089 | 120 | 150 | 181 | 211 | 242 | 273 | 303 | 334 | 364 |
| 30 | 030 | 090 | 121 | 151 | 182 | 212 | 243 | 274 | 304 | 335 | 365 | |
| 31 | 031 | 091 | 152 | 213 | 244 | 305 | 366 | |||||
| Day | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
A year is a leap year when it divides by 4, except a century year that does not divide by 400. The US Naval Observatory gives 1900 and 2100 as years that are not leap years and 2000 as one that is.
Julian day, Julian Date (JD) and Modified Julian Date (MJD)
An astronomical Julian Date, written JD, is one number that counts days without months or years. The US Naval Observatory defines it as a continuous count of days and fractions since noon Universal Time on 1 January 4713 BC in the Julian calendar. Midnight at the start of 15 November 2025 is JD 2460994.5.
The count changes at noon, not at midnight. A whole number is 12:00 UT, and a fraction of .5 is 00:00 UT, the start of the next calendar day. A tool that drops the fraction gives the day before for every time from midnight to noon.
The Modified Julian Date, MJD, is the Julian Date minus 2400000.5. That removes the first two digits and moves the start of the day to midnight. For 15 November 2025 it is 60994. A five-digit MJD looks like a five-digit date code, so the converter reads five digits as a date code first and offers the MJD reading under the date when its year is within 60 years back and 20 years ahead of this year. Type MJD or JD in front of a number to say which one you mean.
Mistakes when reading a date code
Each mistake below puts a wrong date on a stock sheet, and each starts with something the code leaves out.
Using a chart for the wrong kind of year
A chart for a year of 365 days is one day off for every date after 28 February in a leap year. Day 060 is 1 March in 2025 and 29 February in 2024. Check which chart you hold before you read a code from March or later.
Reading day 366 in a year that has 365 days
The code 25366 is not a date, because 2025 ends on day 365. A converter that accepts it has to invent an answer.
Taking the code for a best-before date
A day-number code on food is normally the day the product was packed or made. The Food Safety and Inspection Service says can codes refer to the date the product was canned and are not meant to be read as a best-before date. FSIS names no format for these codes, so first make sure the number on the pack is a day-number code.
Egg cartons with the USDA grade shield are the regulated case. The grading procedures require a three-digit lot number for the day the eggs were packed. Under the same procedures, a sell-by date on the carton may not exceed 30 days including the day of pack. A packer may also use another approved lot format, so not every carton carries the three digits.
Guessing the decade of a four-digit code
An MRE pouch marked 5045 was packed on 14 February of a year that ends in 5. The DLA technical data package uses 5045 for 14 February 2015 in its example, and the same four digits return in 2025. Use the inspection date on the case or the paperwork that came with it to pick the year.
What the converter does not do
This converter reads dates from 1 January 1583, the first full year of the Gregorian calendar, to 31 December 9999. For earlier dates and for dates before the common era, use the US Naval Observatory converter, which uses the Julian calendar up to 4 October 1582.
From a calendar date it gives the Julian Date at 00:00 UT. It has no time field in that direction. To get a date and a time from a Julian Date, type the number with its decimals in Code to date.
It does not decode a maker's own lot code. When letters stand around one code, the converter leaves the letters out, so LOT 25319 B2 is read as 25319 and LOT 25-319 as 25-319. Two codes in the box, such as P1234 042 on an egg carton, get a message that names both, and you type the one that is the date. For a GS1 label that carries dates in brackets, such as (11) for the production date, use the GS1-128 parser.
Frequently asked questions
What is the Julian date today?
The line at the top of the converter gives it for the date on your own device: the day number and the five-digit code. The code is the last two digits of the year and the day number in three digits. For example, on 16 November 2026, day 320 of the year, it is 26320. Astronomers mean a different number: the Julian Date at 00:00 UT on that day is 2461360.5.
What is the Julian date for 2026?
From 26001 to 26365, as a date code: 1 January 2026 is 26001 and 31 December 2026 is 26365, because 2026 has 365 days. As an astronomical Julian Date, 1 January 2026 at 00:00 UT is JD 2461041.5 and 31 December 2026 at 00:00 UT is JD 2461405.5. The Julian date calendar for years of 365 days gives the day number of every date in 2026.
How do I convert a date to a Julian date?
Add the days of the months before the date, then the day of the month. That sum is the day number. Write the last two digits of the year in front of it, with the day number in three digits. For 15 November 2025 the sum is 304 + 15 = 319, so the code is 25319. In the converter, choose Date to code and pick the date.
What is the Julian date format, and how do you read a code?
A Julian date code is usually the year followed by the day of the year: YYDDD, as in 25319. To read one, split it from the right. The last three digits are the day of the year, from 001 for 1 January to 365, or 366 in a leap year. The digits in front are the year: two digits in a five-digit code, one digit in a four-digit code, four digits in a seven-digit code. A three-digit code has no year at all.
What is a 4 digit Julian date?
A four-digit code is the last digit of the year followed by the day number. DLA Troop Support's MRE technical data package gives an example: 14 February 2015 is coded as 5045. The single year digit repeats every ten years, so 5045 can also be 14 February 2025. The Julian date converter shows the latest such year first and the one ten years before it, or twenty years before for day 366, which needs a leap year.
What does the three-digit number on an egg carton mean?
It is the day the eggs were packed, on a carton with the USDA grade shield. The USDA's grading procedures call this lot number the consecutive day of the year and require three digits, so 11 February is 042. A packer may use another approved format instead. A sell-by date may not exceed 30 days, including the day of pack: eggs packed on day 042 of a year of 365 days may carry a sell-by date of 12 March at the latest.
Is the Julian date on a can the expiry date?
No. The USDA's Food Safety and Inspection Service says can codes refer to the date the product was canned, and that they are not meant to be read as a best-before date. FSIS names no format for can codes, so a number on a can is a day-number code only if the maker uses that format.
What is the Julian day, and what is a Modified Julian Date?
Both are counts of days used in astronomy, not calendar dates. The US Naval Observatory defines Julian dates as a continuous count of days and fractions since noon Universal Time on 1 January 4713 BC in the Julian calendar. The count changes at noon, so 2460994.5 is midnight at the start of 15 November 2025. The Modified Julian Date is the Julian Date minus 2400000.5, so its day starts at midnight: MJD 0 is 17 November 1858 and MJD 61360 is 16 November 2026.
Is a Julian date a date in the Julian calendar?
No. A date code such as 25319 counts days in the ordinary Gregorian calendar, the one on your wall. The Julian calendar is the older calendar that the Gregorian calendar replaced: the US Naval Observatory's converter uses it up to 4 October 1582 and the Gregorian calendar from 15 October 1582. This converter starts on 1 January 1583, the first full year of the Gregorian calendar.
By The eancheck teamPublished
Questions or corrections? Email the eancheck team.