Date&Time Difference Node Current vs Legacy results in different data types

Hi there,

I’m tried to replace the Date&Time Difference (legacy) node with the current one. But instead of retrieving data as double data type I only get data as long data type.

This means the legacy node allows results like 0.5 hours but for the new node i have to set the granularity to minutes and then convert the result to hours as double data type in a second step.

Any idea to solve it easier?

BR Hermann

Hi there @morpheus,

indeed it does outputs truncated value. Also instead of Granularity you can output Duration and use Duration to Number node which has option of Exact (double value). Anyways there is a ticket to add same option to Date&Time Difference node now. Tnx :wink:



This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.