Generating Unique code
I want to genarate unique code for a user which is of 8 digits and first 2 digits should be the last 2 digits of a year. for example if year is 2016 then code should be 16000001. please help me.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Krishna Rajput SinghRank #605 · 4K reputationPosted Apr 5, 2016, 2:42 AM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Apr 5, 2016, 2:42 AM EDT