Hello everyone, I have a simple question that I can not manage to answer for some reason.
I user one of the widely available methods to calculate the date difference from webhook data with: formatDate(Updated at;X)-formatDate(Started at;X)
and this returns a result in miliseconds correctly (checked it 100 times).
I now want to simply add to it the calculation to return days as integer, which one would assume only needs correct division - BUT it is not working, the more I manipulate the number, the bigger it gets.
JSON data dates only:
{
"started_at": "2024-06-04T20:10:59.782Z",
"updated_at": "2024-07-05T19:49:01.599Z"
}
Pictures for reference:
This returns normal (first value) in miliseconds.
While this returns a strange number
These are the returns inside the sheet:
I so far tried: formating the number, formating the whole thing as number, as date, then I tried changing the sheet to clear all formating to the cell (if that would change it), tried all sorts of combinations of brackets - nothing. Help needed since I lost 2 hours of my life - for nothing.
Thank you!
p.s. I believed this to be such a simple a/b problem that I am also mind-blown by what I am doing wrong/not seeing.