simonholman.blog
A function to convert a TimeSpan to an x minutes ago string - Simon Holman
An application I’m working on requires a facebook style status system and I thought it would be good to include the “posted x minutes ago” text after the status. I’m sure my code is not the most elegant solution but it works so I thought I’d share.