i want to create a function that takes a "yymmdd" date format and changes it to a "ddmmyyyy" format. I need to make a four digit year in order to differentiate between 1900 and 2000. I have created a function that brings in the "yymmdd" data as a string - changes it around to the correct format and then converts it to a date data type using Cdate - but when i use it in a query the data doesn't seemed to be recognized as a date because it doesn't sort correctly.
Is there a better way? or a different function than CDate to convert the data to a date?
KT
Is there a better way? or a different function than CDate to convert the data to a date?
KT