Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cell showing Date but not Time

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

SO18396706 example

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?

like image 234
Priya Avatar asked Jan 12 '23 13:01

Priya


1 Answers

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

like image 127
pnuts Avatar answered Jan 18 '23 04:01

pnuts