Linked Questions

19 votes
2 answers
8k views

Possible Duplicate: How do I calculate relative time? Is there anything similar to rails' time_ago_in_words helper for asp.net MVC?
ryudice's user avatar
  • 37.6k
16 votes
3 answers
11k views

Possible Duplicate: How do I calculate relative time? I want to format dates on my social web app much like Digg.com and other sites do. There, you see very friendly dates, such as: just now 3 ...
Fer's user avatar
  • 4,216
1 vote
1 answer
4k views

I'm working on simple asp.net mvc website, that shows user's post. I'm saving the post details in the DB including uploaded date. DateTime dateTimeNow = DateTime.Now; newPost.Feed_Upload_Date = ...
Alaa Hershey's user avatar
1 vote
1 answer
3k views

Possible Duplicate: How do I calculate relative time? While posting something on SO it shows posted 5 mins ago or 1hr ago. How do I calculate the time and display it the same way?
Mal's user avatar
  • 521
5 votes
6 answers
716 views

Possible Duplicate: How do I calculate relative time? I want to convert Date Value to string formate just like YouTube Videos Uploaded Time or Date for Eg. 2 Years Ago or 1 month ago or 8 houre ...
Jitendra Jadav's user avatar
2 votes
2 answers
3k views

Possible Duplicate: How do I calculate relative time? I would like to use asp.net c# to calculate the timespan for when a file was uploaded. Example, if i uploaded a file two weeks ago my text ...
user439525's user avatar
2 votes
3 answers
2k views

Possible Duplicates: Fuzzy date algorithm How do I calculate relative time? Hi, How-to format datetime like SO ? 1 minute ago 1 hour ago asked Aug 15 at 15:00
Yoann. B's user avatar
  • 11.2k
3 votes
2 answers
1k views

Possible Duplicate: How do I calculate relative time? I am searching for a custom control for asp.net, which helps display user friendly dates, like instead of article date: (2-april-2010) it ...
Milan Solanki's user avatar
-1 votes
1 answer
2k views

Possible Duplicate: How do I calculate relative time? I want to know how to display these data as seen on stackoverflow.com profile page. I have the timestamp of users registered date and last ...
Vivek's user avatar
  • 4,656
0 votes
3 answers
1k views

I want to create a method it returns string and (calculate the period expires days) differences between expires date and current date. if the differences is less than 1 minutes i will return in second ...
Joseph's user avatar
  • 35
0 votes
1 answer
742 views

I tried to ask this question but some users thought it was a duplicate and closed the question. I explained it in a comment but in any case, I wrote an extension method in C# and it will appear in an ...
howardlo's user avatar
  • 1,479
-2 votes
4 answers
179 views

I have a String Array like First[i] In this array, the values are Like "00hr:00min:17sec" "00hr:03min:18sec" "00hr:05min:25sec" "01hr:39min:44sec" Now I take another string array like Secound[j] "...
Satti's user avatar
  • 559
-1 votes
2 answers
110 views

if I want to retrieve the date and time from db and show it in format "2 mins ago, just now, or 6 months ago" kinda etc., how can i do it.. :) Can any one suggest me how to do this please,
Guruprasad J Rao's user avatar
3 votes
2 answers
151 views

Possible Duplicate: How do I calculate relative time? Given a DateTime object, what's the most elegant way you've found of converting it to a human friendly string. Something like this: (Future) ...
Scott Klarenbach's user avatar
0 votes
2 answers
179 views

So my current $item['date'] function gets the time and date of the post in this format Y-m-d H:i:s. I want to display how many minutes was the post posted or if it is more than 24 hours, how many ...
user4244510's user avatar

15 30 50 per page
1
2 3 4 5
8