单元格显示日期而不是时间 [英] Cell showing Date but not Time

查看:167
本文介绍了单元格显示日期而不是时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Excel工作表中,我将日期和时间添加到一个单元格中,如下所示。

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

在顶部(在fx栏中)显示日期和时间。问题是,在单元格中它只显示日期,但是我希望时间和日期都可以在单元格中显示。

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?

推荐答案

选择ColumnB,首页>单元格 - 格式化格式化单元格和类别下:选择自定义类型:输入 dd-mmm-yy hh:mm AM / PM

Select ColumnB, Home> Cells - Format, Format Cells and under Category: select Custom and in Type: enter dd-mmm-yy hh:mm AM/PM.

这篇关于单元格显示日期而不是时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆