JDate 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
The format string to be applied when using the __toString() magic method.
Placeholder for a DateTimeZone object with GMT as the time zone.
Placeholder for a DateTimeZone object with the default server time zone as the time zone.
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 ( )
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