Remove Timestamp from Date in Excel: 4 Easy Methods
In this article
To remove a timestamp from a date in Excel, the fastest way is to change the cell format to "Short Date" or use the INT function to strip the time value. Because Excel stores dates as whole numbers and times as decimals, removing the timestamp essentially means removing the decimal portion of the cell's value.
What You'll Need
- A spreadsheet containing date-time stamps (e.g., "2023-10-01 14:30:00").
- The data must be recognized by Excel as a Date/Time value, or as a consistent text string.
Step-by-Step
Depending on whether you want to simply hide the time or permanently delete it from the data, choose one of the following methods. Note that menu labels may differ slightly based on your version of Excel (Windows, Mac, or Web).
Method 1: Using Number Formatting (Visual Removal)
Use this method if you want to keep the time data for calculations but don't want it to appear in the cell.
- Select the cells or column containing the timestamps.
- Go to the Home tab on the top ribbon.
- In the Number group, click the dropdown menu (which usually says "General" or "Custom").
- Select Short Date from the list.
- The time will disappear from view, though it remains stored in the cell.
Method 2: Using the INT Function (Permanent Removal)
Use this method to create a new column that contains only the date, completely stripping away the time decimals.
- Click in an empty cell next to your timestamp (e.g., cell B2 if your date is in A2).
- Type the formula:
=INT(A2)and press Enter. - The result may appear as a five-digit number (the Excel date serial number).
- With the cell still selected, go to the Home tab > Number dropdown and select Short Date.
- Click the fill handle (the small square at the bottom-right of the cell) and drag it down to apply the formula to the rest of the column.
Method 3: Using Find and Replace (For Text-Based Dates)
Use this method if your dates are stored as text and the time is separated by a space.
- Select the column containing the timestamps.
- Press Ctrl + H (Windows) or Cmd + Shift + H (Mac) to open the Find and Replace dialog.
- In the Find what box, type a single space followed by an asterisk:
* - Leave the Replace with box completely empty.
- Click Replace All.
- Excel will delete everything from the first space onward, leaving only the date.
Method 4: Using Text to Columns (Bulk Splitting)
Use this method to physically split the date and time into two separate columns.
- Select the column containing your timestamps.
- Go to the Data tab on the ribbon.
- Click Text to Columns.
- Choose Delimited and click Next.
- Check the box for Space (uncheck all others) and click Next.
- In the Data Preview, click the column containing the time and select Do not import column (skip) if you only want the date.
- Click Finish.
Common Mistakes
- Confusing Formatting with Deletion: Many users use Method 1 and assume the time is gone. If you then use that cell in a formula (like a VLOOKUP or a Pivot Table), Excel still sees the time, which can lead to "no match" errors because "2023-01-01" is not the same as "2023-01-01 10:00 AM".
- Applying Find and Replace to the Wrong Data: Using
*in Find and Replace will delete everything after the first space. If your date format is "Monday, January 1", this will delete everything after "Monday,". Always check your date format first. - Forgetting to Format the INT Result: When using
=INT(), the result often looks like a random number (e.g., 45123). This is not an error; it is just the raw date value and requires the "Short Date" format to look correct.
Tips
- Convert Formulas to Values: If you used the INT function and want to delete the original timestamp column, first copy the new date column, right-click, and select Paste Values. This prevents the formulas from breaking when the source data is removed.
- Use CTRL + 1: For more precise control over how your date looks, press Ctrl + 1 to open the Format Cells dialog. Here, you can create a Custom format (e.g.,
yyyy-mm-dd) to ensure consistency across your sheet. - Check Data Type: If none of the formulas work, your dates might be stored as "Text". You can tell if they are aligned to the left of the cell by default. Use the Value function or Text to Columns to convert them to actual dates first.
Troubleshooting
If the timestamp will not disappear, try these steps in order:
- Check for hidden characters: Sometimes timestamps imported from databases have non-breaking spaces. If Find and Replace fails, try using the
=TRIM()function first to clean the cell. - Force Date Conversion: If the date is stuck as text, select the column, go to Data > Text to Columns, and simply click Finish immediately. This often forces Excel to re-evaluate the data type and recognize it as a date.
- Verify the Delimiter: If you are using Text to Columns or Find and Replace, ensure the date and time are actually separated by a space. Some systems use a "T" (e.g., 2023-10-01T14:30). In this case, replace the "T" instead of the space.
Frequently Asked Questions
Will removing the timestamp delete my data?
If you use Number Formatting, the data is still there, just hidden. If you use the INT function, Find and Replace, or Text to Columns, the time data is permanently removed from that specific cell.
Why does my date turn into a number like 45201?
Excel stores dates as the number of days elapsed since January 1, 1900. This is the "serial number" of the date. Simply change the cell format to Short Date to see it as a calendar date again.
Can I remove the timestamp for an entire column at once?
Yes. By selecting the entire column header (e.g., clicking the "A" at the top) before applying any of the methods listed above, the change will apply to every cell in that column.
Which method is best for large datasets?
For very large datasets, Text to Columns or Find and Replace are generally faster than creating thousands of new formula cells with the INT function, as they modify the data in place.
Does this work in Google Sheets?
Yes, most of these methods work similarly. The INT function and Number Formatting are identical. For Find and Replace, use Ctrl + H and ensure "Search using regular expressions" is checked if you use wildcards.