Is there a way to set a default date format in Excel using four-digit years?
Our process receives CSV files generated by an external process (e.g. SAS, SPSS) and read into another application. Sometimes it's necessary to open, edit and save the CSV, for instance to delete columns of sensitive data, correct an outlier, etc.
The challenge is that Excel reads valid dates in the CSV (e.g. 8/23/2013
), converts them to dates and displays them with two digit years. So when you save it, the dates are stored as two digit years, thus Inflicting the Y2K problem on ourselves.
I know it's not possible to get Excel to stop recognizing dates (at least not without changing the CSV file or laboriously specifying format for each column using the Text Import wizard). But maybe get its default date format to use four digit years?
Stop Excel from automatically converting certain text values to dates