Pretty Date Formating

You want to display pretty, nicely formatted dates in your C# program. For example, you need to show “1 hour ago” or “1 minute ago”, instead of seconds.

Source here

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.