TimeToString(TimeSpan, Boolean, Boolean) Method
Convert time to text (5 hours and 10 minutes or 15 minutes and 58 seconds, ...).
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static string ToString(
TimeSpan time,
bool includeSeconds = true,
bool useAbbreviations = false
)
Public Shared Function ToString (
time As TimeSpan,
Optional includeSeconds As Boolean = true,
Optional useAbbreviations As Boolean = false
) As String
- time TimeSpan
- Time to convert.
- includeSeconds Boolean (Optional)
- Indicates whether seconds are included.
- useAbbreviations Boolean (Optional)
- Indicates whether abbreviations will be used for hours, minutes and seconds texts.
StringString with the time unit value.