rjanjic / PHP_Time_Ago

Compute the difference between two time values.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP_Time_Ago

This class can compute the difference between two time values.

It compares two timestamp values and returns an English string that expresses the difference between the time values in years, months, weeks, days, hours, minutes or seconds.

If the second timestamp value is omitted, the class returns the time difference relatively to the current time.

Language string can be configured.

About

Compute the difference between two time values.


Languages

Language:PHP 100.0%