Nicholas Lefebvre wrote:But with what your are saying about the 2 digit year what should i do.
Well, if this really is a proper South African ID number, I'd find out what the government does.
Alternatively, you could use the current year (ie, 13 right now), and subtract 1 from the current century (20) if the yy field is greater than it; however, it's a bit of a
kludge.
BTW, typical example of a government code designed by idiots (indeed, probably by a committee of them).
Winston
PS: Please
DontWriteLongLines. I've tried to break yours up as best I can, but it makes your Thread very hard to read.