PDF download Download Article

Step-by-step guide to hide or remove the time from a date stamp in Excel

PDF download Download Article

Removing the time from a date value in Excel is easy, and there are plenty of ways to do it! You can format the cell to show only the date, preserving the time information. Or, you can remove the time entirely from the date value. This wikiHow shows you how to remove the time from a date in Microsoft Excel.

Things You Should Know

  • Change the format of the cells to hide the time while maintaining the time value.
  • Use INT or DATEVALUE to remove the time from a date.
  • Alternatively, use Find and Replace or Text to Columns to remove the time.
Method 1
Method 1 of 5:

Changing the Date Format

PDF download Download Article
  1. This method changes the date format to hide the time portion. The time data will still be in the cell after changing the format. [1]
  2. This tab is at the top of Excel.
    Advertisement
  3. This is in the “Number” section of the Home tab.
  4. This will open the “Format Cells” window.
  5. This is an option in the “Category” options on the left side of the window. [2]
  6. Select a format that doesn’t contain the time. For example, 3/14/2012 or March 14, 2012 . [3]
  7. This will confirm the format change. The selected cells should now be formatted without the time.
  8. Advertisement
Method 2
Method 2 of 5:

Using Text to Columns

PDF download Download Article
  1. This method uses the “Text to Columns” feature to split the time from the date into two separate columns.
    • Note that this only works if your date and time are separated by a delimiter like a space. For example, “1/8/23 5:34 PM” has a space between the date and the time.
    • Since Excel stores date information as a serial number, removing the time from a date sets the date’s time to 12:00 AM. You cannot completely remove the time aspect from a date value.
  2. This is a tab at the top of Excel. [4]
  3. This will open the “Convert Text to Columns Wizard” window. [5]
  4. This is an option under “Choose the file type that best describes your data:”. [6]
  5. This will take you to Step 2 of the wizard. [7]
  6. This will take you to Step 3 of the wizard.
  7. You can click each new column in the “Data preview” box at the bottom of the wizard window. This will allow you to change the format or skip the column completely.
    • You can also change where the columns will be placed using the “Destination” box.
  8. This will place the new column data at the specified cell destination. [8] The dates column won’t show the time by default, but they are now all set to 12:00 AM due to the way Excel stores date and time information.
    • For example, if you had the time “1/8/23 5:34 PM”, it would be split into three columns containing “1/8/23”, “5:34:00”, and “PM”.
  9. Advertisement
Method 3
Method 3 of 5:

Using Find and Replace

PDF download Download Article
  1. This method uses the Find and Replace feature to replace the time portion of the dates with a blank. [9]
    • Note that this only works if your date and time are separated by a space. For example, “1/8/23 5:34 PM” has a space between the date and the time.
    • Since Excel stores date information as a serial number, removing the time from a date sets the date’s time to 12:00 AM. You cannot completely remove the time aspect from a date value.
  2. This tab is at the top of Excel. [10]
  3. This button is in the “Editing” section of the Home tab. [11]
  4. This is an option in the drop down menu.
  5. This tells Excel to look for text where there is a space followed by any number of characters.
  6. This means Excel will replace the space and all of the characters after it with a blank.
  7. This will delete all of the times from the selected dates. The dates will now have the time 12:00 AM. If needed, you can change the cell format to remove the time. [12]
  8. Advertisement
Method 4
Method 4 of 5:

Using the INT Function

PDF download Download Article
  1. Excel stores dates as a serial number that describes the date and time. The time portion is a decimal value at the end of the date’s whole number. This method uses the INT function to remove the time’s decimal portion from the date.
    • Since Excel stores date information as a serial number, removing the time from a date sets the date’s time to 12:00 AM. You cannot completely remove the time aspect from a date value.
  2. Replace “A1” with the cell reference for the original date when you type the formula . [13]
  3. This will confirm the formula. You’ll see the date followed by “12:00 AM”. If needed, you can change the cell format to remove the time.
  4. Advertisement
Method 5
Method 5 of 5:

Using the DATEVALUE Function

PDF download Download Article
  1. This method removes the time from a date using the DATEVALUE and TEXT function. [14] [15]
    • Since Excel stores date information as a serial number, removing the time from a date sets the date’s time to 12:00 AM. You cannot completely remove the time aspect from a date value.
  2. Change A1 to the cell containing the original date. Since the DATEVALUE function creates a date value using a date written as text, you’ll need to convert the original date to text using TEXT. Specifying the "MM/DD/YY" format means DATEVALUE won’t get the time from the original date.
  3. This will confirm the formula. You’ll see the date as a serial number. You can change the cell format to show the date in your preferred format.
  4. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 36,571 times.

      Is this article up to date?

      Advertisement