问题
In my Excel sheet I added the date and time in one cell as below.

At the top (in fx bar) it is showing both the date and time. The problem is, in the cell it is showing only the date but I want both the time and date to be displayed in the cell.
Can anyone help me with this?
回答1:
Select ColumnB, Home> Cells - Format, Format Cells and under Category: select Custom and in Type: enter dd-mmm-yy hh:mm AM/PM
.
回答2:
ctrl + ;
will show the date, press the space bar, then ctrl + shift + ;
will show the time, also.
09/08/2017 2:36 PM
[ctrl+;] [ctrl+shift+;]
来源:https://stackoverflow.com/questions/18396706/cell-showing-date-but-not-time