Inversion -

Operator: -

circle-info

The inversion operator - is applied to a value in order to negate the value. The value can be of the following type:

  • number

  • duration

This function is SQL compatible. For more information about SQL compatibility, see our documentation.

circle-check
chevron-right-valuehashtag

-5 + 5 => 0

-(5+5) => -10

-('12d') => 0 seconds (duration on itself cannot be negative)

Today() + (-'12d') => 12 days before today

Last updated

Was this helpful?