TimeToString(String) Method

Converts the numeric value of this instance to its equivalent string representation, using the specified format.

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.176 -- Release Build+c74560d581224bfee7a285d73926fb4fb3df8ece
public string ToString(
	string? format
)

Parameters

format  String
A format string.

Return Value

String
The string representation of the value of this instance as specified by format.

Remarks

Note that this ToString overload matches ToString(String), use ToString(Int32, Double) to convert Time value into a textual representation of years, days, hours, minutes and seconds.

See Also