简体   繁体   中英

how to calculate difference between these two times in excel

2016-10-31T15:26:39.569Z AND 2016-10-31T03:00:00.462Z

I am not able to find any functions for this calculations as these times are in UTC format. Is there any formula to convert them to normal time?

Since you mentioned only formulas not VBA - there has been a solution for this but it doesn't factor in the timezones which may be problematic for you.

=DATEVALUE(MID(A1,1,10))+TIMEVALUE(MID(A1,12,8))

If the timezones don't matter then this should help, if they do then there are VBA solutions further down on the link you could explore.

Parsing an ISO8601 date/time (including TimeZone) in Excel

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM