Given a specific DateTime
value, how do I display relative time, like:
- 2 hours ago
2 hours ago
- 3 days ago
3 days ago
- a month ago
a month ago
Given a specific DateTime
value, how do I display relative time, like:
- 2 hours ago
- 3 days ago
- a month ago
Given a specific DateTime
value, how do I display relative time, like:
2 hours ago
3 days ago
a month ago
Bijender Singh Shekhawat
- 4.6k
- 2
- 33
- 37
How can Calculate relative time be calculated in C#?
Loading
Loading
Loading
user2370523
Loading
Removed language tag, we have answers for C#, JavaScript, PHP, etc... this is community wiki, let's make this question a destination for all those looking for date time differences in general... why are people trying to close this community wiki?
Theraot
- 41.1k
- 7
- 70
- 105
Loading
Loading
Loading
Loading
Loading
Mathew Thompson
- 56.5k
- 15
- 130
- 151
Loading
Loading
Loading
Loading
Loading
Loading
Post Made Community Wiki
lang-cs