I'm generating csv file in java using following string
108176,2019-09-16,11-15-2019
when open this file in notepad++ it shows as this format
but when I open it in excel it shows different format ( hyphen symbol change to slash ).
what was the error and how can I get hyphen instead of slash?