EvaluateDateTime¶
Returns the datetime offset value of current node.
1 |
|
Returns the datetime offset value of the node selected by the specified XPath expression.
1 |
|
Parameters¶
string xpath
The XPath expression to evaluate. If not specified, the current node is used.
Returns¶
The datetime offset value of the selected node.
Remarks¶
Difference between $Xml.Evaluate
and $Xml.EvaluateDateTime
(when both of them are used on a Date Time type of data):
- $Xml.EvaluateDateTime
returns object as a data type, and it will return NULL when there is no actual value;
- $Xml.Evaluate
returns string as a data type and it will be empty (but not a NULL) when there is no actual value.
Difference between $Xml.Evaluate
and $Xml.EvaluateDateTime
(when both of them are used on a Date Time type of data):
- $Xml.EvaluateDateTime
returns object as a data type, and it will return NULL when there is no actual value;
- $Xml.Evaluate
returns string as a data type and it will be empty (but not a NULL) when there is no actual value.
Evaluate with an xpath¶
1 |
|