Click or drag to resize

TimeUtilsFriendlyElapsedTimeString Method (TimeSpan)

Displays the elapsed time friendly seconds, hours, minutes

Namespace:  Koden.Utils
Assembly:  Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntax
public static string FriendlyElapsedTimeString(
	TimeSpan elapsed
)

Parameters

elapsed
Type: SystemTimeSpan
Timespan of elapsed time

Return Value

Type: String
string in format of just now or 1m ago, 2h ago
See Also