Fix Excel Date-Time Display Differences Between a Cell and the Formula Bar in WPS Office
Question details
The user needs to understand and fix why a worksheet cell shows a different date-time than the formula bar and apply a number format that reveals the full stored date and time.

- Product
- WPS Office Spreadsheet
- Device & OS
- not provided
- Scenario
- A user is working in WPS Office Spreadsheet with date-time values that include milliseconds and notices the cell display does not match the formula bar.
- Observed behavior
- The cell displays a formatted value such as 00:02.4, while the formula bar shows the complete stored date-time value.
Select the affected cell and compare what the formula bar shows with the cell display. This confirms whether the difference is caused by number formatting rather than data entry.
Apply a custom date-time number format to the selected cell
Use this when you need the worksheet cell to show the complete stored date and time, including milliseconds, just like the formula bar.
The cell display is controlled by its number format. A format that shows only minutes and seconds hides the date and milliseconds, so changing the format reveals the full underlying value without modifying the data.
Click the cell such as F2, or drag to select a range of cells that shows the incorrect date-time display.
Press Ctrl+1, or right-click the selection and choose Format Cells.
In the Format Cells dialog, click the Number tab and select Custom from the Category list.
In the Type box, type yyyy-mm-dd hh:mm:ss.000 or another custom format that includes the date, hours, minutes, seconds, and milliseconds you need.
Click OK. The selected cell now displays the full stored date-time value in the worksheet.

Apply a Custom Date-Time Format in WPS Office Spreadsheets
WPS Office Spreadsheets lets you control cell display with custom number formats, so you can show the full stored date and time including milliseconds and eliminate confusion with the formula bar.
- 1. Open the workbook in WPS Office: Open the Excel-compatible workbook in WPS Office Spreadsheet and go to the worksheet containing the date-time cells.
- 2. Select the target cells: Select the cell or range that currently displays an incomplete date-time, such as F2.
- 3. Open Format Cells: Press Ctrl+1 or right-click and choose Format Cells to open the number formatting dialog.
- 4. Enter a custom date-time format: On the Number tab, select Custom and enter yyyy-mm-dd hh:mm:ss.000 in the Type box.
- 5. Apply and verify: Click OK, then verify that the cell now displays the same full date-time value as the formula bar.

Frequently Asked Questions
Why does my cell show 00:02.4 while the formula bar shows a full date and time?
The cell is using a number format that displays only minutes, seconds, and tenths. The formula bar always shows the stored value. Select the cell, open Format Cells with Ctrl+1, and apply a custom format such as yyyy-mm-dd hh:mm:ss.000.
How do I make WPS Office Spreadsheet display milliseconds?
Open Format Cells, switch to the Number tab, choose Custom, and enter hh:mm:ss.000 or yyyy-mm-dd hh:mm:ss.000. The .000 section controls milliseconds.
Will changing the number format change my stored date-time value?
No. Number formats only change how a value is displayed. The underlying date-time value and any milliseconds remain unchanged.
Why does General format show a serial number instead of a date?
Excel-compatible spreadsheets store dates as serial numbers. General format displays that underlying number. Apply a Date, Time, or custom date-time format to see a readable date and time.




