In many industries, especially in the food and pharmaceutical industries, managing the best before date (BBD) of products is crucial. This means ensuring that products are sold or used in time before they expire. This task can be complicated, especially when dealing with many different products.