On 03 May 2007, at 10:49, Dennis Birch wrote: >> dats.Insert yearPos, format(tmpDate.year,"0000") > > I think you may also need to add a check for YearPos = 2. I included > that in my code, which I'm happy to send as a complete package to you > or Steve. I've got to get some other work done this morning, so I > don't have time for much more than sending it out to one (or both) of > you at the moment. That also explains the qualification in my first > sentence. I scanned your code, without analyzing it thoroughly, so you > may have already compensated for the YearPos factor without my > realizing it.
I insert the year into the array of numeric parts and that seems to deal with it ok from what I can see I set my date format to mm/yy/dd and put in 5/3 and I do get may 3, 2007 (2007-05-03) as the date which seems right I also tried several European formats _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
