XD\Twitter\Services\TwitterService::determine_time_ago
Calculate the time ago in days, hours, whichever is the most significant
Signature
public function determine_time_ago(integer
$time,
[integer
$detail = 1] )
Parameters
$time
— integer- Input time as a timestamp
$detail
— integer- Number of time periods to display. Increasing provides greater time detail.
Returns
- string