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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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" )