Click or drag to resize

TimeToString(String) Method

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

Namespace: GSF.Units
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.252-beta+d6f44256e7cdcd1b3455fcb1dc7bd1c8d65c988a
Syntax
public string ToString(
	string format
)
View Source

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