TimeZoneOffsetToString(String, IFormatProvider) Method

Formats the value of the current instance using the specified format.

Definition

Namespace: InnerDrive.TimeZones
Assembly: InnerDrive.TimeZones (in InnerDrive.TimeZones.dll) Version: 5.2.9017.0
C#
public string ToString(
	string? format,
	IFormatProvider? formatProvider
)

Parameters

format  String
The String specifying the format to use, or a null reference to use the default format defined for the type of the IFormattable implementation.
formatProvider  IFormatProvider
The IFormatProvider to use to format the value, or a null reference to obtain the numeric format information from the current locale setting of the operating system.

Return Value

String
A String containing the value of the current instance in the specified format.

Implements

IFormattableToString(String, IFormatProvider)

Remarks

The default format is the numeric format string g, the general date/short time format.

See Also