Whogohost Advert On NCT|
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Javascript Time Ago Function
#1
It is native Javascript function for automatically updating fuzzy timestamps (e.g. "8 minutes ago ").

You can test it on

http://jsfiddle.net/goker/3J9Dz/ or

http://codepen.io/goker/pen/yBEGD

HTML


JavaScript


You can use jQuery timeAgo plugin for this also.But It can not handle Unix Timestamp .
It takes so long to learn simplicity.
[-] The following 1 user Likes Dealwap's post:
  • naijaboy
#2
give The Code In textarea Sir i think Is Better
I am a proud member of NIgerian Coders Team
[-] The following 1 user Likes naijaboy's post:
  • Dealwap
Reply
#3
(01-03-2017, 10:05 AM)naijaboy Wrote:
give The Code In textarea Sir i think Is Better

Done! Thanks sir.
I am a proud member of NIgerian Coders Team
Reply
Facebook Share


Possibly Related Threads...
Thread
  HELP: How Can I Create A Javascript Ads Rotator For My Site
  Beginner Javascript Coding Mistakes To Avoid
  Concatenate Many Arrays Uniquely With Javascript
  Shortest Code For Random Number Between 1 And N In Javascript
  Javascript Text Editor Right In Your Browser In One Line Of Code
  Getting Current Location With Javascript
  How To Check If Javascript Object Is Empty
  How To Create An Image Slider With Javascript
  Convert Numbers To Roman Numerals With Javascript
  TUTORIAL: How To Make A Digtal Clock With Javascript




Users browsing this thread: 1 Guest(s)