ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Why are sometimes seconds not shown in cell? timestamp format problem (https://www.excelbanter.com/excel-discussion-misc-queries/256860-why-sometimes-seconds-not-shown-cell-timestamp-format-problem.html)

Claudia d'Amato

Why are sometimes seconds not shown in cell? timestamp format problem
 
I have a column in Excel which contain timestamp information.
When I right click on all the cells the format is

Number-Custom-TT.MM.JJJJ hh:MM

Much to my surprise some of the cells show a value of e.g.

00.01.1900 13:30

At first there are TWO (!) blanks between date and time.

Why?

Furthermore the seconds are not shown.

Why?

I expected (at least) "00".

Claudia


David Biddulph[_2_]

Why are sometimes seconds not shown in cell? timestamp format problem
 
Are you sure that your format wasn't
TT.MM.JJJJ hh:MM
rather than
TT.MM.JJJJ hh:MM ?

If you want seconds, what happens if you change it to TT.MM.JJJJ hh:MM:ss ?
--
David Biddulph


Claudia d'Amato wrote:
I have a column in Excel which contain timestamp information.
When I right click on all the cells the format is

Number-Custom-TT.MM.JJJJ hh:MM

Much to my surprise some of the cells show a value of e.g.

00.01.1900 13:30

At first there are TWO (!) blanks between date and time.

Why?

Furthermore the seconds are not shown.

Why?

I expected (at least) "00".

Claudia





All times are GMT +1. The time now is 11:20 AM.

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