To get dates (and ensure that they are in the right format) I usually use the Date/Time Picker control. It's in Microsoft Windows Common Controls-2 6.0 SP4. You can set the format that it displays in, and format its Value to get exactly what you want.
That avoids any problems with 2/1/2002 (Jan 2 or Feb 1) etc Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first
'There are 10 kinds of people in the world: those who understand binary, and those who don't.'