Cell showing Date but not Time

我只是一个虾纸丫 提交于 2019-12-24 00:04:25

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!