JDateJDate is a class that stores a date and provides logic to manipulate and render that date in a variety of formats.
Located in /libraries/joomla/date/date.php (line 33)
DateTime | --JDate
static string
$format
= 'Y-m-d H:i:s' (line 46)
The format string to be applied when using the __toString() magic method.
static object
$gmt
(line 54)
Placeholder for a DateTimeZone object with GMT as the time zone.
static object
$stz
(line 63)
Placeholder for a DateTimeZone object with the default server time zone as the time zone.
DateTimeZone
$tz
(line 71)
The DateTimeZone object for usage in rending dates as strings.
Proxy for new JDate().
Gets the date as a formatted string in a local calendar.
Translates day of week number to a string.
Constructor.
Gets the date as a formatted string.
Get the time offset from GMT in hours or seconds.
Translates month number to a string.
Method to wrap the setTimezone() function and set the internal time zone object.
Gets the date as an ISO 8601 string. IETF RFC 3339 defines the ISO 8601 format and it can be found at the IETF Web site.
Gets the date as an RFC 822 string. IETF RFC 2822 supercedes RFC 822 and its definition can be found at the IETF Web site.
Gets the date as an SQL datetime string.
Magic method to access properties of the date given by class to the format method.
Magic method to render the date object in the format specified in the public static member JDate::$format.
Inherited From DateTime (Internal Class)
constructor __construct ( [$time = ], [$object = ] )
add ( $interval )
createFromFormat ( $format, $time, [$object = ] )
diff ( $object, [$absolute = ] )
format ( $format )
getLastErrors ( )
getOffset ( )
getTimestamp ( )
getTimezone ( )
modify ( $modify )
setDate ( $year, $month, $day )
setISODate ( $year, $week, [$day = ] )
setTime ( $hour, $minute, [$second = ] )
setTimestamp ( $unixtimestamp )
setTimezone ( $timezone )
sub ( $interval )
__set_state ( )
__wakeup ( )
DAY_ABBR
= "\x021\x03"
(line 35)
DAY_NAME
= "\x022\x03"
(line 36)
MONTH_ABBR
= "\x023\x03"
(line 37)
MONTH_NAME
= "\x024\x03"
(line 38)
Inherited from DateTime (Internal Class)
ATOM = 'Y-m-d\\TH:i:sP'
COOKIE = 'l, d-M-y H:i:s T'
ISO8601 = 'Y-m-d\\TH:i:sO'
RFC822 = 'D, d M y H:i:s O'
RFC850 = 'l, d-M-y H:i:s T'
RFC1036 = 'D, d M y H:i:s O'
RFC1123 = 'D, d M Y H:i:s O'
RFC2822 = 'D, d M Y H:i:s O'
RFC3339 = 'Y-m-d\\TH:i:sP'
RSS = 'D, d M Y H:i:s O'
W3C = 'Y-m-d\\TH:i:sP'
Documentation generated on Tue, 19 Nov 2013 14:57:55 +0100 by phpDocumentor 1.4.3