You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Function: DateSubtract

DateSubtract allows you to subtract a timespan from a date/time value, it's most useful when you want to express a query in terms of a date/time relative to current date and time.

Syntax

DateSubtract(date, timespan)

Example

CreatedAt >= DateSubtract(Now(), '1 week')

See Also

  • No labels