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/utilities/date.php (line 20)
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.
An array of offsets and time zone strings representing the available options from Joomla! CMS 1.5 and below.
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().
Constructor.
Gets the date as a formatted string in a local calendar.
Translates day of week number to a string.
Gets the date as a formatted string.
Get the time offset from GMT in hours or seconds.
Translates month number to a string.
Set the date offset (in hours).
Method to wrap the setTimezone() function and set the internal time zone object.
Gets the date in a specific format
Returns a string formatted according to the given format. Month and weekday names and other language dependent strings respect the current locale
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 MySQL datetime string.
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.
Gets the date as UNIX time stamp.
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 Mon, 25 Jun 2012 13:54:03 -0500 by phpDocumentor 1.4.4