Noda Time
ToString Method
NamespacesNodaTimeOffsetDateTimeToString()()()()

[This is preliminary documentation and is subject to change.]

Currently returns a string representation of this value according to ISO-8601, extended where necessary to include fractional seconds, and using a colon within the offset where hour/minute or minute/second separators are required.
Declaration Syntax
C#Visual BasicVisual C++
public override string ToString()
Public Overrides Function ToString As String
public:
virtual String^ ToString() override
Return Value
A string representation of this value.
Remarks

An offset of 0 is represented by "Z", otherwise the offset is the number of hours and optionally minutes, e.g. "01" or "01:30".

This representation is a temporary measure until full support for parsing and formatting OffsetDateTime values is implemented. It is provided in order to make diagnostics simpler, but is likely to be changed in future releases.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)