<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jianan Li</title>
    <description>The latest articles on DEV Community by Jianan Li (@partvane).</description>
    <link>https://dev.to/partvane</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4279649%2Fa507b8c3-482e-4dc6-9d24-86aaa4d74dd9.png</url>
      <title>DEV Community: Jianan Li</title>
      <link>https://dev.to/partvane</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/partvane"/>
    <language>en</language>
    <item>
      <title>"2410" on a chip can mean three different dates: decoding IC date codes without guessing</title>
      <dc:creator>Jianan Li</dc:creator>
      <pubDate>Thu, 03 Dec 2026 05:09:55 +0000</pubDate>
      <link>https://dev.to/partvane/2410-on-a-chip-can-mean-three-different-dates-decoding-ic-date-codes-without-guessing-493a</link>
      <guid>https://dev.to/partvane/2410-on-a-chip-can-mean-three-different-dates-decoding-ic-date-codes-without-guessing-493a</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  One code, three valid readings
&lt;/h2&gt;

&lt;p&gt;Take &lt;code&gt;2410&lt;/code&gt;:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Format&lt;/th&gt;
&lt;th&gt;Reading&lt;/th&gt;
&lt;th&gt;Calendar range&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;YYWW&lt;/td&gt;
&lt;td&gt;2024, week 10&lt;/td&gt;
&lt;td&gt;4 – 10 Mar 2024&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;WWYY&lt;/td&gt;
&lt;td&gt;week 24, 2010&lt;/td&gt;
&lt;td&gt;14 – 20 Jun 2010&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;YYMM&lt;/td&gt;
&lt;td&gt;2024, October&lt;/td&gt;
&lt;td&gt;1 – 31 Oct 2024&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;Other formats you'll meet:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;YWW&lt;/strong&gt; (3 digits): one-digit year, so &lt;code&gt;415&lt;/code&gt; could be 2014 or 2024.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;YYDDD&lt;/strong&gt; Julian (5 digits): &lt;code&gt;24071&lt;/code&gt; is the 71st day of 2024.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;onsemi two-letter codes&lt;/strong&gt;: the year/month letters repeat every 12 years.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;National Semiconductor&lt;/strong&gt;: in one of their schemes the "week" digit is a six-week period, not a week.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Rules that narrow it down
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A week above 53 (or 00) is impossible, so &lt;code&gt;2460&lt;/code&gt; cannot be YYWW.&lt;/li&gt;
&lt;li&gt;Week 53 only exists in ISO years that have one (2020 does, 2021 doesn't).&lt;/li&gt;
&lt;li&gt;If only one side of a four-digit code is a valid week, that side is the week.&lt;/li&gt;
&lt;li&gt;If both sides are 01–52, the code is genuinely ambiguous: check the maker's marking document.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A small tool that shows every reading
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Browser version (free, no sign-up): &lt;a href="https://www.partvane.com/tools/date-code-decoder/" rel="noopener noreferrer"&gt;https://www.partvane.com/tools/date-code-decoder/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Format reference by manufacturer, with sources: &lt;a href="https://www.partvane.com/tools/date-code-formats/" rel="noopener noreferrer"&gt;https://www.partvane.com/tools/date-code-formats/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source, MIT, Node.js and Python, zero dependencies: &lt;a href="https://github.com/lijianan659-lang/ic-stm32-decoder" rel="noopener noreferrer"&gt;https://github.com/lijianan659-lang/ic-stm32-decoder&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What it can't do
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;If you have a manufacturer's marking document that isn't covered yet, I'd be glad to add it with credit.&lt;/p&gt;

</description>
      <category>electronics</category>
      <category>hardware</category>
      <category>opensource</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
