PHP Class Phergie_Plugin_Time, phergie

Any shared time-related code should go into this class.
Author: Phergie Development Team ([email protected])
Inheritance: extends Phergie_Plugin_Abstract
Show file Open project: phergie/phergie

Public Methods

Method Description
getCountdown ( string $timestamp ) : string Returns the time interval between the current time and a given timestamp.

Method Details

getCountdown() public method

Returns the time interval between the current time and a given timestamp.
public getCountdown ( string $timestamp ) : string
$timestamp string Timestamp compatible with strtotime()
return string