Pick up almost any IC and you'll find a four-digit number near the part marking: 2410, 1952, 0733. Most people read it as year and week. Often that's right. Sometimes it is off by years.
One code, three valid readings
Take 2410:
| Format | Reading | Calendar range |
|---|---|---|
| YYWW | 2024, week 10 | 4 – 10 Mar 2024 |
| WWYY | week 24, 2010 | 14 – 20 Jun 2010 |
| YYMM | 2024, October | 1 – 31 Oct 2024 |
All three are valid. The digits alone don't tell you which one the manufacturer meant; their marking spec does. When you're checking an old reel, incoming stock or a lot that looks wrong, picking the wrong reading quietly turns a 2024 part into a 2010 part.
Other formats you'll meet:
-
YWW (3 digits): one-digit year, so
415could be 2014 or 2024. -
YYDDD Julian (5 digits):
24071is the 71st day of 2024. - onsemi two-letter codes: the year/month letters repeat every 12 years.
- National Semiconductor: in one of their schemes the "week" digit is a six-week period, not a week.
Rules that narrow it down
- A week above 53 (or 00) is impossible, so
2460cannot be YYWW. - Week 53 only exists in ISO years that have one (2020 does, 2021 doesn't).
- If only one side of a four-digit code is a valid week, that side is the week.
- If both sides are 01–52, the code is genuinely ambiguous: check the maker's marking document.
A small tool that shows every reading
I wrote a decoder that doesn't pick a format for you. It lists every valid reading side by side, converts each to an ISO week date range, rejects impossible weeks and Julian days, and handles 52/53-week years.
- Browser version (free, no sign-up): https://www.partvane.com/tools/date-code-decoder/
- Format reference by manufacturer, with sources: https://www.partvane.com/tools/date-code-formats/
- Source, MIT, Node.js and Python, zero dependencies: https://github.com/lijianan659-lang/ic-stm32-decoder
What it can't do
It can't tell you who made the part, and a clean date code doesn't prove a part is genuine. A date code is one check among several: reel label, lifecycle notice, marking font and pin-1 style. Use it to read the number correctly, not to sign off on a lot.
If you have a manufacturer's marking document that isn't covered yet, I'd be glad to add it with credit.
Top comments (0)