S
Sheila Jones
Hello,
I have written a webpage that displays details of some files on the
webserver. It includes the following lines:
FileInfo fi = new FileInfo(file);
cell.Text = fi.CreationTime.ToString();
It works OK, except that the date is displayed in US format
(month/day/year), not UK format. The help file for DateTime.ToString says
"This method uses formatting information derived from the current culture".
So obviously, the 'current culture' is set incorrectly. Where and how do I
change this?
Thanks.
I have written a webpage that displays details of some files on the
webserver. It includes the following lines:
FileInfo fi = new FileInfo(file);
cell.Text = fi.CreationTime.ToString();
It works OK, except that the date is displayed in US format
(month/day/year), not UK format. The help file for DateTime.ToString says
"This method uses formatting information derived from the current culture".
So obviously, the 'current culture' is set incorrectly. Where and how do I
change this?
Thanks.