TimeUtils.FriendlyElapsedTimeString

Displays a number of milliseconds as friendly seconds, hours, minutes Pass -1 to get a blank date.

public static string FriendlyElapsedTimeString(int milliSeconds)

Return Value

string in format of just now or 1m ago, 2h ago

Parameters

milliSeconds
the elapsed milliseconds to display time for

Overloads:


See also:

Class TimeUtils

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic