Supplemental Data's script - DATE_DIFF using MONTH type return incorrect result
The test case is input Dec 31,2022 (Start Date) and Dec 31,2023 (End Date). Using function DATA_DIFF with "MONTHS" type will return 12.329 (DIFF_MONTH). How does this number calculated?
The day is correctly calculated to 365 (DIFF_DAY).
The calculation is below:
Tagged:
0