HTML5 Data Bindings Formatter Support Product Page

DateDiff always positive

8 years ago Andres Gonzalez Michaca posted:
Hello

Why if I use this {{fech_venci.dateDiff( 'days', 'now' )}} the result is positive, even if the difference is negative?

This has to be negative.

Thanks!

Reply to this topic