PHP 클래스 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.
파일 보기
프로젝트 열기: NamelessMC/Nameless
1 사용 예제들
공개 메소드들
메소드 상세
public inWords ( $past, $time_language, $now = "now" ) |