TimeUtils.FriendlyElapsedTimeString

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:


See also:

Class TimeUtils

© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic