Difference between revisions of "Presage/Internal:Great American Date Codes"
Hheffelbower (talk | contribs) (Created page with "Great American [Appetizers] Snacks has unique date codes for their packaging. <h2>The Wahoo Date Code</h2> The Wahoo code is used in both the Nampa and Monroe plants for a numb...") |
Hheffelbower (talk | contribs) |
||
Line 2: | Line 2: | ||
<h2>The Wahoo Date Code</h2> | <h2>The Wahoo Date Code</h2> | ||
The Wahoo code is used in both the Nampa and Monroe plants for a number of analysis. For a date of 2017-06-05 00:15:01 (produced on Line 1 in the Nampa plant), the Wahoo Code would display as 'NF057J1' | The Wahoo code is used in both the Nampa and Monroe plants for a number of analysis. For a date of '''2017-06-05 00:15:01''' (produced on '''Line 1''' in the '''Nampa''' plant), the Wahoo Code would display as ''''NF057J1'''' | ||
*N stands for Nampa. The Monroe plant's initial character is M. | *The 'N' stands for Nampa. The Monroe plant's initial character is 'M'. | ||
*The 'F' stands for the month of June (controlled by the first case statement). | *The 'F' stands for the month of June (controlled by the first case statement). | ||
*The '05' is the day of the month formatted as a two-digit day using the format '%d'. | *The '05' is the day of the month formatted as a two-digit day using the format '%d'. |
Revision as of 14:54, 8 June 2017
Great American [Appetizers] Snacks has unique date codes for their packaging.
The Wahoo Date Code
The Wahoo code is used in both the Nampa and Monroe plants for a number of analysis. For a date of 2017-06-05 00:15:01 (produced on Line 1 in the Nampa plant), the Wahoo Code would display as 'NF057J1'
- The 'N' stands for Nampa. The Monroe plant's initial character is 'M'.
- The 'F' stands for the month of June (controlled by the first case statement).
- The '05' is the day of the month formatted as a two-digit day using the format '%d'.
- The '7' is the last number of the four-digit year using the RIGHT command to find the first digit on the right of the number, using the format '%y'.
- The 'J' represents the time between midnight and 2 a.m. using the second case statement.
- Finally, the '1' indicates the line number within the plant where the product was produced.
(SELECT CASE CONCAT('N', |
Best Before/Meilleur Avant 2018 JN05 NF057J1