Is there a Javascript script to change the time and date of blogs automaticly like facebook ???
for example “10 minutes ago” instead of “May 15 2010 12:30”.
-Thank You
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use the
timeagojQuery plugin; it’s a popular way to handle this situation. It will also do the updating for you, if you like, and it supports micro-formatted goodness.In a nutshell, it turns all
abbrelements with an ISO 8601 timestamp into fuzzy timestamps. Thus, if you haveand the current time is 15:30Z on January 10, 2015, you’ll get something like:
as a result.