Louis Vuitton has used four systems. Bags made before the early 1980s carry no code at all, which is normal and not a fault. Through the 1980s the code was three or four digits alone. From about 1990 the format became two letters for the workshop followed by four digits, and it is those digits that changed meaning in 2007: before that they read month and year, afterwards week and year, in both cases interleaved rather than in order.
Read them interleaved. In a pre-2007 code the first and third digits are the month and the second and fourth are the year, so 1024 is October 2004. In a post-2007 code the first and third digits are the week, so 1024 is week 12 of 2004 — the same digits, a different answer, which is exactly why the era matters before the arithmetic does.
From March 2021 the code is gone. New production carries an NFC microchip sewn into the lining, readable by the maison rather than by you, and a bag from 2022 with a neat stamped date code inside is wrong on its face.
Two workshop rules catch a lot of fakes. The letters correspond to a country — SD, FL and a handful of others to the United States, CA and LO to Spain, BC, SA and others to Italy, most of the rest to France — and the letters must agree with the "made in" stamp on the leather tab. And the code should be stamped into leather or a fabric tab in the same tone as the piece, never printed on a paper sticker.