Riddle - output CSV according to date

Use the DateTimeFormatInfo to output date as short date pattern yyyy-MM-dd.