ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Formatting Dates (https://www.excelbanter.com/excel-programming/282905-formatting-dates.html)

Mike[_58_]

Formatting Dates
 
When you look at a cell in a workbook, the date is
displayed as mm/dd/yy (10/09/03). However, when you look
at the contents of the cell, the date is actually stored
as mm/d(d)/yy (10/9/2003).

How can I convert the 10/9/2003 date to 10/09/03. I can
manipulate it once it is in the correct format mm/dd/yy.

Thanks for the help.


Alan

Formatting Dates
 
The date 10-9-03 is in Excel is stored as a number ie 37874. This is the
number of days counted this century.
You can format this number any way you wish. Go Format Cells Date and
pick which you want, or try Custom,
ddd dd mm yy, dddd,dd, mmmm, yyyy etc, try it out, you'll soon get the hang
of it.
Regards,
Alan.

"Mike" wrote in message
...
When you look at a cell in a workbook, the date is
displayed as mm/dd/yy (10/09/03). However, when you look
at the contents of the cell, the date is actually stored
as mm/d(d)/yy (10/9/2003).

How can I convert the 10/9/2003 date to 10/09/03. I can
manipulate it once it is in the correct format mm/dd/yy.

Thanks for the help.




Alan

Formatting Dates
 
'number of days counted this century'
Last century plus this century, sorry, showing my age!

"Alan" wrote in message
...
The date 10-9-03 is in Excel is stored as a number ie 37874. This is the
number of days counted this century.
You can format this number any way you wish. Go Format Cells Date and
pick which you want, or try Custom,
ddd dd mm yy, dddd,dd, mmmm, yyyy etc, try it out, you'll soon get the

hang
of it.
Regards,
Alan.

"Mike" wrote in message
...
When you look at a cell in a workbook, the date is
displayed as mm/dd/yy (10/09/03). However, when you look
at the contents of the cell, the date is actually stored
as mm/d(d)/yy (10/9/2003).

How can I convert the 10/9/2003 date to 10/09/03. I can
manipulate it once it is in the correct format mm/dd/yy.

Thanks for the help.







All times are GMT +1. The time now is 11:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com