API17:JFactory::getDate
From Joomla! Documentation
JFactory::getDate
Description
Return the object.
public static function getDate (
$time= 'now'
$tzOffset=null
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $time | mixed | 'now' | The initial time for the object |
| $tzOffset | mixed | null | The timezone offset. |
- Returns object
- Defined on line 434 of libraries/joomla/factory.php
- Since

- Referenced by
- JLogEntry::__construct
- JModuleHelper::_load
- JUser::bind
- JTableUser::check
- JTableContent::check
- JTableCategory::check
- JTableMenu::check
- JTable::checkOut
- JHtml::date
- JForm::filterField
- JFormFieldCalendar::getInput
- JDocumentRendererRSS::render
- JDocumentRendererAtom::render
- JTableUser::setLastVisit
- JTableContent::store
- JTableCategory::store
See also
JFactory::getDate source code on BitBucket
Class JFactory- Other versions of JFactory::getDate
User contributed notes
Code Examples