Formatting Issues

How to Display Zulu Time as Four Digits in Excel

Jason MillerJason Miller Oct 29, 2026 869 views

Question details

The user needs to display time values in an Excel cell in a 24-hour Zulu format without a colon separator.

How to Display Zulu Time as Four Digits in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Select the target cells

Highlight the cells or column containing the time values you wish to convert to Zulu time.

2
Open Format Cells

Right-click on the selected cells and choose 'Format Cells' from the context menu, or press the 'Ctrl + 1' keyboard shortcut.

3
Choose the Custom category

In the Format Cells dialog box, navigate to the 'Number' tab and select 'Custom' from the Category list on the left side.

4
Enter the format code

In the 'Type' text box under the Custom category, erase the existing format and type 'hhmm'. Click OK to apply the changes.

Apply a Custom Number Format
Format Applied: Your time will now display as a continuous four-digit number (e.g., 1:30 PM becomes 1330). The underlying value remains a standard time format.
WPS Spreadsheet Solution

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. 1. Open your file: Launch WPS Spreadsheet and open the document containing your time data.
  2. 2. Select the time data: Highlight all the cells you want to convert into the four-digit Zulu time format.
  3. 3. Access cell formatting: Press 'Ctrl + 1' on your keyboard to quickly pull up the Format Cells dialog.
  4. 4. Apply the format code: Go to 'Custom' under the Number tab, type 'hhmm' in the input field, and click OK.
Fully compatible with Microsoft Excel (.xlsx) file formats and custom formatting codes.Effortlessly apply 'hhmm' and other advanced custom cell formats.Lightweight, fast, and free to use for your everyday spreadsheet needs.
microsoft office alternative - wps office

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'.