Views:

Description

Returns the maximum date from of a set of dates given an anchor and operator.

Signature

MaxOfDatesWithAnchor(
  'anchordate', 
  'operator', 
  'date1', 
  'date2', 
  'date3'
)

Example

MaxOfDatesWithAnchor(
  UtcDate(),
  '>=', 
  '2015-01-01',
  '2015-02-02', 
  '2015-03-03') 
Returns '2015-03-03'

Parameters

Name Type Description Required
anchordate xxxx xxxx xxxx
operator xxxx xxxx xxxx
date1 xxxx xxxx xxxx
date2 xxxx xxxx xxxx
date3 xxxx xxxx xxxx