How to Separate Date and Time in Excel

If you just need to separate date and time in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: use =INT(A2) to keep the date and drop the time — or =TEXT(A2,"dd/mm/yyyy") if you want text rather than a date.

On this page7
▤Annotated stepsExcel
1

Add a helper column and enter =INT(A2), then fill it down.

2

Format the helper column as a Date (Ctrl+1 ▸ Date) — INT returns a serial number.

3

Copy the helper column and use Home ▸ Paste ▸ Values over the original column to make it permanent.

4

To keep the time in its own column, use =A2-INT(A2) and format that cell as a Time.

5

If you only need it as text for a label, =TEXT(A2,"dd/mm/yyyy") works — but the result no longer sorts or filters as a date.

6

To remove the time across a whole column at once, use Data ▸ Text to Columns ▸ Fixed width ▸ Finish, which truncates on import.

=INT(A2)
Ctrl+CthenCtrl+Shift+V⌘+Cthen⌘+Ctrl+VPaste values · WindowsMac

What this does

A date-time in Excel is one number: the whole part is the date, the fraction is the time. Formatting a cell as a date hides the time but does not remove it, which is why two cells that both display 13/04/2026 can still fail an equality test and why filtering or grouping by date splits one day into dozens of entries. =INT(A2) truncates the fraction and returns a real date with a time of 00:00. Its counterpart, =A2-INT(A2), returns just the time. For a permanent change without a helper column, copy the INT results and Paste Special ▸ Values over the original. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. For “separate date and time in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a workflow that saves repeating the same clicks every week useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

A2 holds 13/04/2026 14:37, stored as 46125.6090. =INT(A2) returns 46125, which formatted as a date reads 13/04/2026 with no time. =A2-INT(A2) returns 0.6090, formatted as a time it reads 14:37. This is why =A2=DATE(2026,4,13) returns FALSE for the original but TRUE for the INT version — and why a PivotTable grouped on the raw column shows a separate row for every timestamp. Timestamps from exports and databases break every date comparison, filter and PivotTable grouping in the same invisible way, and one INT column fixes all of them. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.

In Google Sheets

Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. For “separate date and time in excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.

Common mistakes

  • Applying a date-only format and assuming the time is gone; it is still there and still breaks comparisons.
  • Using TEXT when the result has to keep behaving as a date — TEXT returns a string.
  • Rounding with ROUND instead of truncating with INT, which pushes any time after midday to the next day.
  • Comparing a raw date-time against a date and concluding the data is wrong when the difference is the hidden fraction.
  • Forgetting to reformat the INT result, which then shows a five-digit serial number.

Frequently asked questions

How do I remove the time from a date in Excel?

=INT(A2) drops the time and keeps the date. Format the result as a Date, then paste the values back over the original column if you want it permanent.

How do I extract just the time?

=A2-INT(A2) returns the fractional part. Format that cell as a Time to display it as hh:mm.

Why do two dates that look identical not match?

One still carries a time component. The display format hides it but the underlying number differs. Compare =INT(A2)=INT(B2) instead.

Why does my PivotTable show every timestamp separately?

It is grouping on the full date-time. Strip the time with INT into a helper column and pivot on that.

Other ways people ask this

This is also commonly searched as “separate date and time in excel”, “excel formula for last saved date and time”, “convert date and time to date in excel” and “excel join date and time”. They describe the identical operation, so you are in the right place no matter how you phrased it.

Why do people search for this in so many different ways?

Because the same task has many names. “separate date and time in excel”, “excel formula for last saved date and time”, “convert date and time to date in excel” all point at the one operation explained on this page, which is why they all lead here.