Differences between string representations of date/times
In Excel 2007, I want the differences for the following string date/times: A B C 1 Date1 Date2 Difference of A and B 2 2009.11.28 01:25:46:0287 2009.11.28 01:25:46:0287 ? 3 2009.11.28 01:25:46:0443 2009.11.28 01:25:46:0443 ? I want the differences by converting strings to date/time and then the results as differences of two converted date/times. A rather long-winded way to calculate zero (for the examples): =SUBSTITUTE(LEFT(A2,10),".","/")+MID(A2,12,8)+RIGHT(A2,4)/86400000-(SUBSTITUTE(LEFT(B2,10),".","/")+MID(B2,12,8)+RIGHT(B2,4)/86400000) By special request and very slightly shorter: