in reply to Merging multiple variations of a serial number

They are all unique lengths bar the 2 sorts of 13 digit number. Those might be distinguishable if you have a small number of possible years. What is the range of valid years here?


🦛

  • Comment on Re: Merging multiple variations of a serial number

Replies are listed 'Best First'.
Re^2: Merging multiple variations of a serial number
by Doozer (Scribe) on Jul 28, 2022 at 15:17 UTC

    Thanks for your reply

    Valid year range is 18 - 22

      It's OK I think if the leading digit of the 13 is a 1 or 3-9, but if it's a 2 then you have an issue. What does a 13-digit number starting 222 mean? I don't see how you can tell if that's MYY or YYX where X is the start of the core serial. Unless you have some other way to know?


      🦛

        > Unless you have some other way to know?

        well the check digit at the end of 13 without leading month could give a strong indication, but the OP didn't tell us the actual check algorithm.

        edit

        And normally this kind of nonsense happens because someone changes the convention at a certain time.

        Like check digit introduced after March 2019, etc ...

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery