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, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic