Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Date Conversion to UTC in Excel

I have the below dates received in an Excel cell. I want them to be subtracted from 8 hours from the given date

2022-03-16T23:02:14+08:00
2022-03-17T07:59:46+08:00
2022-03-17T08:00:34+08:00

Here, I need output as for Eg:

2022-03-16
2022-03-16
2022-03-17

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Using helper columns to explain what happens:
enter image description here

  • Column B returns the plain date
  • Column C returns the time part
  • Column D adds both values and subtracts the 8 hours (calculated as a decimal of 24 hours). INT is used to only return the date part – without time part.
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading