NevronOpenVision
Nevron.Nov Namespace / NTimeSpanHelpers Class / ToString Method / ToString(TimeSpan) Method
ToString(TimeSpan) Method
Converts the given time span to string, for example 2.10:15:20 gets converted to "2 days, 10 hours, 15 minutes and 20 seconds".
Syntax
public static System.string ToString( 
   System.TimeSpan timeSpan
)

Parameters

timeSpan
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

See Also