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.
부터: 0.2.0 (2010/05/05)
저자: jimmiw
파일 보기 프로젝트 열기: NamelessMC/Nameless 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $timezone = NULL )
dateDifference ( $past, $now = "now" )
inWords ( $past, $time_language, $now = "now" )

메소드 상세

__construct() 공개 메소드

public __construct ( $timezone = NULL )

dateDifference() 공개 메소드

public dateDifference ( $past, $now = "now" )

inWords() 공개 메소드

public inWords ( $past, $time_language, $now = "now" )