Abstract Class JHtmlDate

Description

Extended Utility class for handling date display.

  • abstract:
  • since: 2.5

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


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

Function to convert a static time into a relative measurement

  • return: The converted time string
  • since: 2.5
  • 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 Tue, 19 Nov 2013 14:57:56 +0100 by phpDocumentor 1.4.3