Date - Days difference (Bug)

Post Reply
bernard.lee
Posts: 70
Joined: 14 Apr 2017, 10:50
Name: Bernard Lee
Location: Singapore

Date - Days difference (Bug)

Post by bernard.lee »

Screenshot 2019-02-22 at 8.41.53 PM.png
I have 2 dates for the entry.
Highlighted in blue date with time and in grey date only.

(1) Using/Select the type of field -> Date : Days difference
(2) Perform dynamically -> Yes
(3) Exclude last day -> Yes

The result should be 7 day(s) instead of what it has shown on the screenshot.

Is this a bug? If so, could you rectify it? Please advise with thanks.
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Date - Days difference (Bug)

Post by support »

This is not bug. It's because you are using date only field type. And it means date format using as 28/01/2019 00:00
So 28 is not including at all in this period. That is why you have 6 days.
bernard.lee
Posts: 70
Joined: 14 Apr 2017, 10:50
Name: Bernard Lee
Location: Singapore

Re: Date - Days difference (Bug)

Post by bernard.lee »

support wrote: 22 Feb 2019, 18:09 This is not bug. It's because you are using date only field type. And it means date format using as 28/01/2019 00:00
So 28 is not including at all in this period. That is why you have 6 days.
Oh I see. Hmm.. is there any formula or using the formula field to calculate it instead?
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Date - Days difference (Bug)

Post by support »

Post Reply