Set correct date format