PHP Class N98\Util\DateTime

显示文件 Open project: netz98/n98-magerun Class Usage Examples

Public Methods

Method Description
getDifferenceAsString ( DateTime $time1, DateTime $time2 ) : string Returns a readable string with time difference

Method Details

getDifferenceAsString() public method

Returns a readable string with time difference
public getDifferenceAsString ( DateTime $time1, DateTime $time2 ) : string
$time1 DateTime
$time2 DateTime
return string