on 11-25-2014 2:43 PM
Hi All,
I want to calculate the total time taken in hours while working on a scenario ie .. diff ( End date time - Start date time)
Now I am a bit confused that the result which I am getting is in milliseconds or seconds .
Can anyone please clarify so that I can make the calculation to convert the time in hours .
Also , should I convert the date time in integer value and then do the calculation or direct difference between the date and time will be fine ?
Please advise.
Thanks
Neha
Hi Neha,
The difference of two Date & Time will give result in seconds but in case of two Dates the result will be in days.
Direct difference of Date & Time type properties will also work fine.
Thanks,
Sudhir.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Sudhir,
I tested this rule
first date and time field - 7:52:30 PM 11/25/2014
second date and time field - 7:52:56 PM 11/25/2014
and difference it gave it -63584164349.. So how should I move further If I want to convert this in hours or minutes , Ideally if we see the diff is just 26 seconds.
Can you please explain.
Thanks
Neha
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.