Displaying time in relative format(nirandas.com)
submitted by
crpietschmann(11.3k) 3 years, 5 months ago
Many websites specially forum sites display time relative to the current time as “3 Hours 25 Minutes ago”, “30 Seconds ago” etc. In this post I will show a method using which we can convert datetime into descriptive relative time string.
|category: CLR
|Views: 16
tags:
DateTime CLR another
Everyones tags:
Your Tags: