According to research by OS X Daily Journal, behind code Serial Number contains many interesting stories. They may disclose the place of manufacture, assembly time, color, memory capacity …
You can find Serial Number on the iPhone, by visit the General> About> Serial Number.
Each Serial Number usually AABCCDDDEEF structure (11 characters), in which:
AA: ID assembly plant and machinery
B: Year (last digit of the year, 2010 is 0, 2011 is No. 1 …)
CC: Weekly production
DDD: Unique Identifier (unique identifiers)
EE: color version of the iPhone and phones
F: Memory, where S is the 16GB and T is the 32GB
For the last 3 characters of the Serial Number, they are repeated corresponding to each series as shown below.
VR0 (iPhone 2G 4GB silver)
WH8 (iPhone 2G 8GB, silver)
0KH (iPhone 2G 16GB, silver)
Y7H (iPhone 3G 8GB Black)
Y7K (iPhone 3G 16GB black)
3NP (iPhone 3G 16GB black)
3NR (iPhone 3G 32GB black)
3NQ (white 16GB iPhone 3G)
3NS (white 32GB iPhone 3G)
A4S (black 16GB iPhone 4)
A4T (black 32GB iPhone 4)
You can check more infomation of your iPhone by visiting here and enter your Serial Number.