How to Remove Hours From Custom Milestone Dates in Microsoft Project
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.

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

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. Download and Install WPS Office: Get the free suite from the official WPS website and launch WPS Spreadsheet.
- 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. 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.

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.




