Displays a number of milliseconds as friendly seconds, hours, minutes Pass -1 to get a blank date.
Note: English only!
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:
public static string FriendlyElapsedTimeString(double milliSeconds)
public static string FriendlyElapsedTimeString(TimeSpan elapsed)
See also:
Class TimeUtils© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic