Formatting Dates and Times in Excel
Procedure
- To select the column you want to format, click its heading.
- Right-click the selected column.
- Select Format Cells from the right-click menu.
- Click the Number tab, if it is not already selected.
- Click the Date category.
- Select a timestamp type in the Type group box.
- If you need to display milliseconds, instead of clicking the Date category, select Custom, and then enter dd-mmm-yyyy hh:mm:ss.000 in the Type field.
- Click OK.