-1

Possible Duplicate:
How do I calculate relative time?

I did stumble upon a nice library some time ago that gives you a nicer way when we're dealing with Dates like:

@DateTime.AddDays(-1) will show yesterday

@DateTime.Now will show Just now

WHat is the technical term of this and, did you guys know the nuget package of this library?

Community
  • 1
  • 1
balexandre
  • 73,608
  • 45
  • 233
  • 342

1 Answers1

2

There's a jQuery plugin out there called timeago, which can also do what you're looking for: http://timeago.yarp.com/

CassOnMars
  • 6,153
  • 2
  • 32
  • 47