TimeToString Method

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

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.160 -- Release Build+19b74ac03cedad8575bb1ceb00051318b7421d0d
public override string ToString()

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 ToString overload will not display fractional seconds. To allow display of fractional seconds, or completely remove second resolution from the textual representation, use the ToString(Int32, Double) overload instead.

See Also