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
Add a helper column and enter =INT(A2), then fill it down.
Format the helper column as a Date (Ctrl+1 ▸ Date) — INT returns a serial number.
Copy the helper column and use Home ▸ Paste ▸ Values over the original column to make it permanent.
To keep the time in its own column, use =A2-INT(A2) and format that cell as a Time.
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.
To remove the time across a whole column at once, use Data ▸ Text to Columns ▸ Fixed width ▸ Finish, which truncates on import.
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. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
In Google Sheets
Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. 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. If you take one thing from this page on “separate date and time in excel”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.
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
ROUNDinstead 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.
Is there a keyboard shortcut for this?
Yes — “separate date and time in excel” is one key combination away rather than a trip through the menus. Use the Windows/Mac toggle above to see the exact keys for your machine, and remember Ctrl on Windows maps to ⌘ on Mac.
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.