Returns the value of the NBElement passed in after first converting it to a DateTime if required.


- value (NBElement)
- The element whose value is to be converted.

The current element's value converted to a DateTime data type.

Exception | Condition |
---|---|
FormatException | Thrown if the value can not be converted to a DateTime. |