[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/HTML/Helpers/ -> Date.php (summary)

Joomla! Content Management System

Copyright: (C) 2011 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 90 lines (3 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 1 function

  relative()

Functions
Functions that are not part of a class:

relative($date, $unit = null, $time = null, $format = null)   X-Ref
Function to convert a static time into a relative measurement

param: string  $date    The date to convert
param: string  $unit    The optional unit of measurement to return
param: string  $time    An optional time to compare to, defaults to now
param: string  $format  An optional format for the HTMLHelper::date output
return: string  The converted time string



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer