Noda Time
ToString Method (patternText, formatProvider)
NamespacesNodaTimeInstantToString(String, IFormatProvider)

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

Formats the value of the current instance using the specified pattern.
Declaration Syntax
C#Visual BasicVisual C++
public string ToString(
	string patternText,
	IFormatProvider formatProvider
)
Public Function ToString ( _
	patternText As String, _
	formatProvider As IFormatProvider _
) As String
public:
virtual String^ ToString(
	String^ patternText, 
	IFormatProvider^ formatProvider
) sealed
Parameters
patternText (String)
The String specifying the pattern to use, or null to use the default format pattern.
formatProvider (IFormatProvider)
The IFormatProvider to use when formatting the value, or null to use the current thread's culture to obtain a format provider.
Return Value
A String containing the value of the current instance in the specified format.

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