Skip to content

Carlo-F/get-time-ago-IT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

get-time-ago-IT

PHP function that converts timestamp into the time ago format (Italian language)

HOW TO USE IT:

Include function.php or copy and paste the content into your project. Simply call the get_timeago() function. It requires one parameter: a Unix timestamp variable.

example #1

get_timeago(strtotime('2019-10-07')) returns 'pubblicato circa 20 giorni fa'

About

PHP function that converts timestamp into the time ago format (Italian language)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages