Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to remove date from date time in Excel?

If you have a list of date and time stamps in your worksheet, and now you want to remove the date from the date time and only leave the time. Do you have any quick methods to deal with this job?

Remove date from date time with Find and Replace feature

Remove date from date time with formula


arrow blue right bubble Remove date from date time with Find and Replace feature


With the Find and Replace function, you can finish this task as follows:

1. Select your date and time cells, then right click and choose Format Cells, see screenshot:

doc-remove-date-1

2. In the Format Cells dialog, click General under Number tab to convert the time to general format, then click OK to close the dialog. See screenshot:

doc-remove-date-1

3. After changing the formatting, please press Ctrl + H keys to open the Find and Replace dialog box. In the Find and Replace dialog, please enter an asterisk and period (*.) into the Find what text box, and type only period (.) into the Replace with text box under Replace tab, see screenshot:

doc-remove-date-1

4. Then click Replace All button, and close the Find and Replace dialog. You will get the following result:

doc-remove-date-1

5. And next, you need to reformat the general to time format back, please choose Time from the left list box under Number tab in the Format Cells dialog box, and the date has been removed from the date and time stamp, see screenshots:

doc-remove-date-5 -2 doc-remove-date-6

arrow blue right bubble Remove date from date time with formula

The following simple formula also can help you to remove date from the date and time.

1. Please enter this formula: =A2-INT(A2) (A2 contains the date and time that you want to use, you can change it to your need) into a blank cell besides your data, see screenshot:

doc-remove-date-1

2. Then drag the fill handle over to the range cells that you want to apply this formula, and you will get some decimal values as follows:

doc-remove-date-1

3. And then you can convert the decimal values to time format. Please right click, and choose Format Cells, in the Format Cells dialog box, click Time from the left list box, and choose one time type you like from the Type section under Number tab, see screenshot:

doc-remove-date-1

4. Then click OK to close this dialog, and your date has been removed and only leave the time, see screenshot:

doc-remove-date-1


Related articles:

How to remove time from date in Excel?

How to remove year from date in Excel?



Recommended Productivity Tools

Office Tab

gold star1 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.

Kutools for Excel

gold star1 Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1 300 New Features for Excel, Make Excel Much Easy and Powerful:

  • Merge Cell/Rows/Columns without Losing Data.
  • Combine and Consolidate Multiple Sheets and Workbooks.
  • Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
  • Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
  • More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...

Screen shot of Kutools for Excel

<p>



Recommended Productivity Tools

Office Tab

gold star1 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.

Kutools for Excel

gold star1 Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1 300 New Features for Excel, Make Excel Much Easy and Powerful:

  • Merge Cell/Rows/Columns without Losing Data.
  • Combine and Consolidate Multiple Sheets and Workbooks.
  • Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
  • Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
  • More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...

Screen shot of Kutools for Excel

</p>

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    sree · 5 months ago
    This is great. saved lot of my time.