HI SMCmtg,
Before exporting, you can obtain the numeric field of date as a date field.
For making the convertion follow the steps..
1. SET DATE YMD
2. Use followinf function to convert your numeric field into a date field..
myDtField = "20"+LEFT(ALLT(STR(NumDate),2) + "/" ;
SUBSTR(ALLT(STR(NumDate),3,2) + "/" ;
RIGHT(ALLT(STR(NumDate),2)
OR && assuming date not exceeding year 2010... and has date also in 20th century..
myDtField = IIF(LEFT(ALLT(STR(NumDate),1)="0","20","19"

+;
SUBSTR(ALLT(STR(NumDate),1,2) + "/" ;
SUBSTR(ALLT(STR(NumDate),3,2) + "/" ;
SUBSTR(ALLT(STR(NumDate),5,2)
This function can be used strightaway in your SQL extract so that the date field is right in place for your conversion.
An alternative way is to convert your date field to numeric number of days from 1st jan 1999 ... export to excel as numeric column... set the numeric field column as Date type under format menu choice or programaticaly from VFP. Excel stores the date cell as the number of days from 1stJan1999. BUt surely this is not convenient way for your needs. The information is just for knowledge.
5151.. missed on the substr with 5,4 instead of 5,2
I think Rick was in a hurry and left you to assume on the data type and convertions within the DATE() function.
Hope this helps you

ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com