Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques statiques | |
static | relative ($date, $unit=null, $time=null, $format=null) |
Extended Utility class for handling date display.
Function to convert a static time into a relative measurement
string | $date | The date to convert |
string | $unit | The optional unit of measurement to return if the value of the diff is greater than one |
string | $time | An optional time to compare to, defaults to now |
string | $format | An optional format for the JHtml::date output |