title | url | tags | |
---|---|---|---|
XPath Minutes-from-DateTime |
/refguide8/xpath-minutes-from-datetime/ |
|
The minutes-from-dateTime()
function extracts the minutes value from a Date and time attribute so it can be used to compare to a value.
This query returns all the logs where the minutes part of DateAttribute
is 30 (for example, "2011-12-30 08:30:00"):
//Logging.Log[minutes-from-dateTime(DateAttribute) = 30]