How can I change the default date format?

Posted by RossFabricant on Super User See other posts from Super User or by RossFabricant
Published on 2012-12-07T15:17:43Z Indexed on 2012/12/07 17:12 UTC
Read the original article Hit count: 207

Filed under:
|
|

When I paste a date into Excel 2010 in the format "2012-12-07 00:00:00.000" I'd like it to be displayed by default as "2012-12-07", but it is actually displayed as "00:00.0".

I know I can work around this by prepending a ' or changing the cell format, but I'm interested in changing the default format.

An approach that almost works is going to Control Panel->Region and Language->Long Time format and changing it to something like "h". This results in Excel displaying the dates I paste in as "2012-12-07 00:00:00.000", but screws up times displayed outside of Excel.

The dates I'm pasting in are from SQL Server.

© Super User or respective owner

Related posts about excel-2010

Related posts about format