I'm here to ask more how to do something rather than check my mistakes.
I have a value
public virtual DateTime DateCreated { get; set; }
And I show it in the view like this:
asked @item.DateCreated by @item.Creator.FullName
which gives this
asked 2/2/2018 2:28:13 PM by System Administrator
I would like to do it like in StackOverflow
asked 5mins ago by x
What would your suggestions be for doing that? I'd need some code example, that's why I'm writing in SO, not SE.