php timestamp and javascript timestamp function

PHP Timestamp  Function

php-time-ago-function

The following code:

How to use this php timestamp function?
Then simply include the ‘$timeago’ reference within your (what is presumably) repeated time ago output.

Javascript Timestamp Function Or Time ago Function

The following code:

How to use this javascript timestamp function?

You have to use the timestamp_timeAgo(time) function to display the date and time.

 

Add Your Comment