Located in /Zend/Date/DateObject.php (line 35)
Class | Description |
---|---|
![]() |
Returns the day of week for a Gregorian calendar date.
Returns true, if given $year is a leap year.
Calculates the sunrise or sunset based on a location
Internal mktime function used by Zend_Date for handling 64bit timestamps.
Returns a formatted date for a given timestamp. Cannot handle DST (Daylight Savings Time).
Internal getDateParts function for handling 64bit timestamps, similar to: http://www.php.net/getdate
Returns an array of date parts for $timestamp, relative to 1970/01/01 00:00:00 GMT/UTC.
$fast specifies ALL date parts should be returned (slower) Default is false, and excludes $dayofweek, weekday, month and timestamp from parts returned.
Return the offset to GMT of $this object's timezone.
The offset to GMT is initially set when the object is instantiated using the currently, in effect, default timezone for PHP functions.
Return the timezone of $this object.
The timezone is initially set when the object is instantiated.
Returns this object's UNIX timestamp A timestamp greater then the integer range will be returned as string This function does not return the timestamp as object. Use copy() instead.
Internal mktime function used by Zend_Date.
The timestamp returned by mktime() can exceed the precision of traditional UNIX timestamps, by allowing PHP to auto-convert to using a float value.
Returns a timestamp relative to 1970/01/01 00:00:00 GMT/UTC. DST (Summer/Winter) time is only supported for 32bit timestamps. Year has to be 4 digits otherwise it would be recognised as year 70 AD instead of 1970 AD as expected !!
Sets a new timezone for calculation of $this object's gmt offset.
For a list of supported timezones look here: http://php.net/timezones If no timezone can be detected or the given timezone is wrong UTC will be set.
Set this object to have a new UNIX timestamp.
Internal getWeekNumber function for handling 64bit timestamps
Returns the ISO 8601 week number of a given date
Documentation generated on Thu, 18 Jan 2007 09:52:52 -0800 by phpDocumentor 1.3.1