Click or drag to resize

TicksToElapsedTimeString Method

Converts the Ticks value into a textual representation of years, days, hours, minutes and seconds.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public string ToElapsedTimeString()
View Source

Return Value

String
The string representation of the value of this instance, consisting of the number of years, days, hours, minutes and seconds represented by this value.
Remarks
Note that this ToElapsedTimeString overload will not display fractional seconds. To allow display of fractional seconds, or completely remove second resolution from the textual representation, use the ToElapsedTimeString(Int32, Double) overload instead.
See Also