dateTimeSubtractYearMonthDuration Function Description

Description

dateTimeSubtractYearMonthDuration belongs to the ALFA function reference's Date and time arithmetic functions category. It maps to the XACML function identifier urn:oasis:names:tc:xacml:3.0:function:dateTime-subtract-yearMonthDuration, takes 2 arguments.

Property Value
Category Date and time arithmetic functions
# Arguments 2
Arguments
Return Value
Expressed As pre-fix
Representation ALFA name
Allowed In Target false
ALFA Shorthand
Commutative false

Example

user.birthdate  >= dateSubtractYearMonthDuration(dateOneAndOnly(currentDate), "P13Y":yearMonthDuration)

See Also

  • http://www.datypic.com/sc/xsd/t-xsd_yearMonthDuration.html