TicksToElapsedTimeString Method

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

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.158 -- Release Build+8af53c44e6ad1fac543a652d58b46c9843b74b64
public string ToElapsedTimeString()

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