Hi all,
I'm trying to calculate a difference between two dates. Difference should be expressed in months. I would like to round it to full months (either up or down, I can adjust afterwards).
At the moment I am using formula:
DateTimeDiff([PD date],[SEDF date],"months")
But I am getting outputs with two differences the same as per below:
| PD date | SEDF date | Month difference | |
| 2017-07-26 | 2017-06-01 | 1 | |
| 2017-07-26 | 2017-07-01 | 0 | Issue |
| 2017-07-26 | 2017-08-01 | 0 | Issue |
| 2017-07-26 | 2017-09-01 | -1 | |
For some reason 26th Jul - 1st Jul = 0 and 26th Jul - 1st Aug = 0. I need this to show 0 and -1 or 1 and 0.
Any ideas? Round and Ceil functions didn't work.
Thanks,
Viktor