PHP Class TimeAgo, Nameless
It has two functions you can call:
inWords() which gives you the "time ago in words" between two dates.
dateDifference() which returns an array of years,months,days,hours,minutes and
seconds between the two dates.
Afficher le fichier
Open project: NamelessMC/Nameless
Class Usage Examples
Méthodes publiques
Method Details
__construct()
public méthode
dateDifference()
public méthode
public inWords ( $past, $time_language, $now = "now" ) |