Class JHtmlDate

Description

Extended Utility class for handling date display.

  • abstract:
  • since: 11.3

Located in /libraries/joomla/html/html/date.php (line 19)


	
			
Method Summary
static string relative (string $date, [string $unit = null], [string $time = null])
Methods
static method relative (line 33)

Function to convert a static time into a relative measurement

  • return: The converted time string
  • since: 11.3
  • access: public
static string relative (string $date, [string $unit = null], [string $time = null])
  • 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

Documentation generated on Mon, 25 Jun 2012 13:54:03 -0500 by phpDocumentor 1.4.4