Click or drag to resize

TemporalValueConvertToDateTimeOffset Method

Converts this TemporalValue instance to a DateTimeOffset instance.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.1.0
Syntax
protected virtual DateTimeOffset ConvertToDateTimeOffset()

Return Value

Type: DateTimeOffset
A DateTime value
Exceptions
ExceptionCondition
InvalidCastExceptionIf conversion is not possible
ValueTruncationExceptionIf conversion results in a truncation under ms precision
OverflowExceptionIf the value falls beyond valid range of target type
See Also