asp.net - Excel download date format changing in different time zone -
how, can keep date format same of excel @ time of download in different-2 time zone?
my downloaded file contains date column format mm-dd-yyyy. issue that, while downloading excel file in region not converting dates different formats, while downloading same file in uk region, converting dates dd-mm-yyyy.
date 12-01-2015 converting 01-12-2015.
i want keep date format of excel file mm-dd-yyyy in regions. generating file using asp.net c#.
thanks in advance.
this because excel selecting different date format based on program's locale setting. imagine options are:
a: change cell format need in each location, e.g. in vba code selection.numberformat = "m/d/yyyy;@"
b: store date data in text format. literally text string in mm-dd-yyyy format. still parse later.
Comments
Post a Comment