- Index
- »
- axon
- »
- func:occurred
def
func:occurred
occurred(ts, range)
Return if a timestamp is contained within a Date range. Range may be any value supported by toDateSpan()
. Timestamp may be either a Date or a DateTime. Also see contains
.
Examples:
ts.occurred(thisWeek) ts.occurred(pastMonth()) ts.occurred(2010-01-01..2010-01-15)