Others

How to Remove Hours From Custom Milestone Dates in Microsoft Project

Huda QurayshiHuda Qurayshi Nov 3, 2026 868 views

Question details

The user needs to hide or remove the hours and time values from custom milestone date fields so they do not appear on the Gantt Chart.

How to Remove Hours From Custom Milestone Dates in Microsoft Project
Product
Microsoft Project
Device & OS
not provided
Scenario
Customizing the Gantt Chart view to display task names and milestone dates cleanly without unnecessary time data cluttering the timeline.
Observed behavior
Microsoft Project continues to display internal time/hour values inside custom milestone date formulas, even when the overall project and Gantt Chart date formats are set to show only dates.
Before you start

Ensure you have permission to modify custom fields in your Microsoft Project schedule, and save a backup of your current project file before applying new formulas to your Gantt Chart.

Solution 1Recommended

Use the DateValue Function in Custom Fields

Extract only the date from the Finish field using a custom formula, effectively stripping the time values from your Gantt Chart labels.

Microsoft Project calculates and stores all dates with internal time values based on your project calendar. Standard display settings do not automatically remove these times when the dates are referenced inside custom formulas. To bypass this underlying behavior, you must use the DateValue function to isolate the date string.

1
Access Custom Fields

Navigate to the 'Project' tab on the ribbon and click 'Custom Fields', or right-click any column header and select 'Custom Fields' from the context menu.

2
Create the Milestone Formula

Select a custom 'Text' field (e.g., Text1). Click the 'Formula...' button and enter the following formula: =[Name] & ", " & DateValue([Finish]). Click 'OK' to save.

3
Apply to Gantt Chart Bar Styles

Double-click the background of your Gantt Chart to open the 'Bar Styles' dialog box. Select your milestone bar style, navigate to the 'Text' tab at the bottom, and change the label field to the custom Text field you just created. Ensure you reference the standard 'Finish' field rather than 'Task Finish'.

Use the DateValue Function in Custom Fields
Maintain Internal Time Tracking: Applying this solution allows you to keep exact times in your standard task tables to precisely track project hours, while successfully hiding the time on the Gantt Chart for easier visual review by stakeholders.
Free Microsoft Office alternative

Manage Project Schedules Easily with WPS Office

While Microsoft Project is powerful, it can sometimes feel overly complex for basic milestone tracking. WPS Office provides a lightweight, free alternative with built-in Gantt Chart templates in WPS Spreadsheet, allowing you to track dates visually without struggling against hidden internal time value formulas.

  1. 1. Download and Install WPS Office: Get the free suite from the official WPS website and launch WPS Spreadsheet.
  2. 2. Open a Project Template: Navigate to the template library and search for 'Gantt Chart' or 'Project Tracker' to instantly set up your timeline.
  3. 3. Input Your Milestones: Enter your task dates directly into the spreadsheet cells where formatting remains exactly as you type it, with no hidden time values.
Fully compatible with Microsoft Excel formats (.xlsx) for seamless schedule sharing.Easily track milestone dates without needing complex programming or internal time formulas.Access hundreds of free, customizable Gantt Chart and project timeline templates.Lightweight application with a familiar UI ensures a smooth and immediate migration.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft Project keep showing times in my custom dates?

Microsoft Project calculates all task scheduling using precise internal time values based on the working calendar. Even if you change the global date format to omit times, custom formulas will still pull the underlying raw data (which includes hours) unless you explicitly strip it using functions like DateValue.

What is the difference between 'Finish' and 'Task Finish' in Microsoft Project?

In Microsoft Project, 'Finish' is the standard overarching field that represents the end date of a task. 'Task Finish' is generally just a display label used in specific views to help distinguish the task's finish date from a resource's finish date or an assignment's finish date.

Can I hide the time in the Gantt Chart but keep tracking hours in my tables?

Yes. You can leave your standard Start and Finish columns active in the task entry tables to track specific hours and durations. By using a custom Text field with the DateValue formula specifically for your Gantt Chart labels, you restrict the clean date-only view to the visual chart.