XPath month-from-dateTime

1 minute to read Download PDF Edit

The month-from-dateTime() function extracts the amount of months from a DateTime attribute so it can be used to compare to a value.

//Logging.Log[month-from-dateTime(DateAttribute) = 12]

This query returns all Logs where the amount of months in DateAttribute is 12, for example 2011-12-30.

Copyright © Mendix. All rights reserved. | Mendix.com | Terms of Use | Privacy Policy