How to Easily Remove the Time from a Date in Microsoft Excel

Download Article

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

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 How.com.vn 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

Download Article
  1. How.com.vn English: Step 1 Select the cell range containing the dates.
    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. How.com.vn English: Step 2 Click Home.
    This tab is at the top of Excel.
    Advertisement
  3. How.com.vn English: Step 3 Click the down arrow next to the current format.
    This is in the “Number” section of the Home tab.
  4. How.com.vn English: Step 4 Click More Number Formats.
    This will open the “Format Cells” window.
  5. How.com.vn English: Step 5 Click Date.
    This is an option in the “Category” options on the left side of the window.
  6. How.com.vn English: Step 6 Click a date format in the “Type” section.
    Select a format that doesn’t contain the time. For example, 3/14/2012 or March 14, 2012.
  7. How.com.vn English: Step 7 Click OK.
    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

Download Article
  1. How.com.vn English: Step 1 Select the cell range containing the dates.
    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. How.com.vn English: Step 2 Click Data.
    This is a tab at the top of Excel.
  3. How.com.vn English: Step 3 Click Text to Columns.
    This will open the “Convert Text to Columns Wizard” window.
  4. How.com.vn English: Step 4 Select Delimited.
    This is an option under “Choose the file type that best describes your data:”.
  5. How.com.vn English: Step 5 Click Next >.
    This will take you to Step 2 of the wizard.
  6. How.com.vn English: Step 6 Select only Space in the “Delimiters” box.
  7. How.com.vn English: Step 7 Click Next >.
    This will take you to Step 3 of the wizard.
  8. How.com.vn English: Step 8 Enter the column settings (optional).
    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.
  9. How.com.vn English: Step 9 Click Finish.
    This will place the new column data at the specified cell destination. 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”.
  10. Advertisement
Method 3
Method 3 of 5:

Using Find and Replace

Download Article
  1. How.com.vn English: Step 1 Select the cell range containing the dates.
    This method uses the Find and Replace feature to replace the time portion of the dates with a blank.[2]
    • 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. How.com.vn English: Step 2 Click Home.
    This tab is at the top of Excel.
  3. How.com.vn English: Step 3 Click Find & Select.
    This button is in the “Editing” section of the Home tab.
  4. How.com.vn English: Step 4 Click Replace.
    This is an option in the drop down menu.
  5. How.com.vn English: Step 5 Type a space and * into the “Find what” box.
    This tells Excel to look for text where there is a space followed by any number of characters.
  6. How.com.vn English: Step 6 Make sure the “Replace with” box is blank.
    This means Excel will replace the space and all of the characters after it with a blank.
  7. How.com.vn English: Step 7 Click Replace All.
    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.
  8. Advertisement
Method 4
Method 4 of 5:

Using the INT Function

Download Article
  1. How.com.vn English: Step 1 Click the cell where you want the new date.
    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. How.com.vn English: Step 2 Type =INT(A1) in the cell.
    Replace “A1” with the cell reference for the original date when you type the formula.
  3. How.com.vn English: Step 3 Press ↵ Enter.
    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

Download Article
  1. How.com.vn English: Step 1 Click the cell where you want the new date.
    This method removes the time from a date using the DATEVALUE and TEXT function.[3][4]
    • 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. Step 2 Type =DATEVALUE(TEXT(A1,"MM/DD/YY")) in the cell.
    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. How.com.vn English: Step 3 Press ↵ Enter.
    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
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn English: Kyle Smith
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Kyle Smith. Kyle Smith is a How.com.vn Technology Writer, learning and sharing information about the latest technology. He has presented his research at multiple engineering conferences and is the writer and editor of hundreds of online electronics repair guides. Kyle received a BS in Industrial Engineering from Cal Poly, San Luis Obispo. This article has been viewed 25,409 times.
      How helpful is this?
      Co-authors: 3
      Updated: February 28, 2023
      Views: 25,409
      Categories: Microsoft Excel
      Thanks to all authors for creating a page that has been read 25,409 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement