How to Display Zulu Time as Four Digits in Excel
Question details
The user needs to display time values in an Excel cell in a 24-hour Zulu format without a colon separator.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Preparing or formatting a spreadsheet that requires military or Zulu time standards, where times like 1:30 PM must appear continuously as 1330.
- Observed behavior
- The goal is to automatically format standard time inputs so that the output strips the colon and displays as a continuous four-digit number representing 24-hour time.
Ensure your target cells contain valid time values or time serial numbers. Custom formatting only changes how the data is displayed, not the underlying value used for calculations.
Apply a Custom Number Format
Use the 'hhmm' custom format to convert standard time displays into a 24-hour format without the colon separator.
By applying a specific custom number format, Excel will hide the colon separator and force a 24-hour clock representation. This method is ideal because it preserves the original time value, allowing you to safely perform time difference calculations.
Highlight the cells or column containing the time values you wish to convert to Zulu time.
Right-click on the selected cells and choose 'Format Cells' from the context menu, or press the 'Ctrl + 1' keyboard shortcut.
In the Format Cells dialog box, navigate to the 'Number' tab and select 'Custom' from the Category list on the left side.
In the 'Type' text box under the Custom category, erase the existing format and type 'hhmm'. Click OK to apply the changes.

Easily Format Time Data with WPS Spreadsheet
WPS Spreadsheet fully supports advanced custom number formatting, allowing you to seamlessly display Zulu time, military time, and other specialized formats just like Microsoft Excel. The process is identical and fully compatible.
- 1. Open your file: Launch WPS Spreadsheet and open the document containing your time data.
- 2. Select the time data: Highlight all the cells you want to convert into the four-digit Zulu time format.
- 3. Access cell formatting: Press 'Ctrl + 1' on your keyboard to quickly pull up the Format Cells dialog.
- 4. Apply the format code: Go to 'Custom' under the Number tab, type 'hhmm' in the input field, and click OK.

Frequently Asked Questions
Can I enter the time without typing the colon in the first place?
By default, Excel requires a colon to recognize an input as a time value. If you type 1330, Excel reads it as a standard number, not 1:30 PM. To input without a colon, you would need to set up specific AutoCorrect rules or use a VBA macro to convert the four-digit number into a proper time value.
Why does my time show as a random decimal number like 0.5625?
Excel stores dates and times as serial numbers, where 1 equals a full 24-hour day. A time like 1:30 PM is stored as 0.5625 (a fraction of the day). If you see decimals, simply apply a Time format or your custom 'hhmm' format to the cell to display it correctly.
How do I include seconds in the Zulu time format?
If your requirements specify displaying hours, minutes, and seconds without separators (e.g., 133045), open the Format Cells dialog (Ctrl + 1) and use the custom number format 'hhmmss' instead of 'hhmm'.




