The conversion is carried out using the Stata date() function. strdate is used when the user has input a generic ASCII data file produced by a spreadsheet, using the infile command, and the data file includes character-format date variables. The infile command converts these to string ...