Метод | Описание | |
---|---|---|
dateSelect ( $objectName, $method, $options = [] ) | ||
distanceOfTimeInWords ( $fromTime, $toTime, $includeSeconds = false ) | ||
timeAgoInWords ( $fromTime, $includeSeconds = false ) | Like distanceOfTimeInWords(), but where $toTime is fixed to now. |
public distanceOfTimeInWords ( $fromTime, $toTime, $includeSeconds = false ) |
public timeAgoInWords ( $fromTime, $includeSeconds = false ) |