So in my prior post I detailed what it took to merge different data sources with different layouts and columns into a single table within PowerPivot. While I was doing this one of the problems I ran into was the fact that there was no consistency within my data sources in regards to the date format. Some of the date formats I found were:
- MM/DD/YYYY
- DD/MM/YYYY
- MM/DD/YY
- DD/MM/YY
On top of that I also had:
- Empty Date Fields
- Date Fields with Invalid Dates (i.e., 00 for the Month or Day)
- Date Fields with Impossible Dates (i.e., 2601 for the Year)