Tip: Extension Method for Friendly DateTime Labels

added by Paul Wheeler
11/7/2018 3:05:29 PM

1 Kicks, 1923 Views

Have you ever wanted to show when a blog post or tweet was last updated in a similar fashion to other social media posts? A few year's ago I had borrowed a function that mostly handled this, updated the logic, and converted it to an extension method.


0 comments