Gets the value of a child node as a DateTime
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static DateTime GetNodeValueDate( XPathNavigator navigator, string path, DateTime defaultValue ) |
Visual Basic |
---|
Public Shared Function GetNodeValueDate ( navigator As XPathNavigator, path As String, defaultValue As DateTime ) As DateTime |
Parameters
- navigator
- Type: System.Xml.XPath..::..XPathNavigator
A navigator pointing to the parent node
- path
- Type: System..::..String
An XPath expression to find the child node
- defaultValue
- Type: System..::..DateTime
Default value to return if the node doesn't exist or doesn't have a value