FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
getStartTime () | |
Static Public Member Functions | |
static | TimeAgo ($timestamp) |
Public Attributes | |
$startTime | |
timer
general class to determine the elapse time between two times in time() format.
Created on Sep 19, 2008 timer
Determine the elapse time between two times in time() format.
Usage: $t = new timer();
To determine elase time: $timePhrase = $t->timeAgo($t->getStartTime);
|
static |
TimeAgo($timestamp)
Return the text of the elapsed time between the timestamp and 'now'.
string | $timestamp | in time() format. |
This routine was taken from the php web site.