between two dates (with
time)
Date sent: Fri, 13 Jul 2018 07:56:17 +0200
Hi Krunose,
>
> just a quick question: if A1 holds 1.7.18. 15:30 and if A2 holds 1.7.18.
> 22:20, why thenDid you type it right here? Point after 18? Dont know if this is a right
format for a date/time-value.I have tried it with German date-time-values and have set only
=A2 - A1
... and it returns 06:50:00Regrads
Robert
That would give difference in hours only, but would not give the days
This is cells L1-M7 Right of ___ is column M contents.
01/17/18 03:30 PM
01/28/18 12:20 PM
10:20:50:0______"=TEXT(INT(L2-L1),"#0")&":"&TEXT(((L2-L1)-INT(L2-L1)),"
H:M:S")
08:50:00 PM_____________ L2-L1 Format Time/AM/PM
20:50:00________________ L2-L1 Format Hour Minute Secound
17______________________ "=INT(L1)-DATE(YEAR(L1),1,1)+1
28______________________ "=INT(L1)-DATE(YEAR(L1),1,1)+1
I also entered dates as the cells L1 and L2 shows, but did use the 24 hour
format for the time, but it changed to AM/PM format by default. Some locals
use the . instead of /, so whatever matches with setup.
Added the Julian Date calculation did earlier, but modified to use int, since L1
and L2 have a time value included.