A Friendly DateTime Formatter

added by scwebgroup
3/25/2011 2:04:10 AM

161 Views

Many websites have the ability show a date and time formatted as "2 minutes ago", "1 hour ago", or "Yesterday". Here's a class I wrote to format dates and times this way. It even supports dates and times in the future.


0 comments