Displaying Relative Time (C#)

added by BlackWasp
2/14/2010 5:29:39 AM

3 Kicks, 108 Views

When developing software that works with time stamped information, it is common to show the date and time at which an item was created or last updated. A user-friendly alternative is to display a relative time, such as "Two Hours Ago".