title | url |
---|---|
XPath seconds-from-dateTime |
/refguide7/xpath-seconds-from-datetime/ |
The seconds-from-dateTime()
function extracts the amount of seconds from a DateTime attribute so it can be used to compare to a value.
This query returns all the logs where the amount of seconds in DateAttribute
is 30 (for example, "2011-12-30 08:08:30"):
//Logging.Log[seconds-from-dateTime(DateAttribute) = 30]