If you would like to upgrade to a newer long-term support version of Studio Pro, see Moving from Mendix Studio Pro 8 to 9.
XPath Hours-from-DateTime
Last modified: August 20, 2024
Overview
The hours-from-dateTime()
function extracts the hours value from a Date and time attribute so it can be used to compare to a value.
Example
This query returns all the logs where the hours part of DateAttribute
is 8 (for example, “2011-12-30 08:00:00”):
//Logging.Log[hours-from-dateTime(DateAttribute) = 8]