If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I wanted to create in my web page a script that calculates how many hours/days/months ago something was uploaded to the database.
e.g.
I uploaded an ad to my site today at 08:00
now lets say its 10:00, so i want to have a text saying
"added 2 hrs ago"
lets say 3 days passed
"added 3 days ago"
and so on....