-
add
-
Adds a date or datepart to the existing date, by extracting $part from $date, and modifying this object by adding that part. The $part is then extracted from this object and returned as an integer or numeric string (for large values, or $part's corresponding to pre-defined formatted date strings).
-
addArpa
-
Adds a RFC 822 date to the date object.
-
addDate
-
Adds a date to the existing date object. Format defines how to parse the date string.
-
addDay
-
Adds days to the existing date object.
-
addDayOfYear
-
Adds a day of year to the existing date object.
-
addHour
-
Adds hours to the existing date object.
-
addIso
-
Adds a ISO date to the date object. Not given parts are set to default.
-
addMilliSecond
-
Adds milliseconds to the date object
-
addMinute
-
Adds minutes to the existing date object.
-
addMonth
-
Adds months to the existing date object.
-
addSecond
-
Adds seconds to the existing date object.
-
addTime
-
Adds a time to the existing date. Format defines how to parse the time string.
-
addTimestamp
-
Adds a timestamp
-
addWeek
-
Adds a week. The week is always a number. The day of week is not changed.
-
addWeekday
-
Adds weekdays to the existing date object.
-
addYear
-
Adds the year to the existing date object
-
ATOM
-
-
$Cities
-
-
City
-
Returns the location from the selected city
-
Cities.php
-
-
calcSun
-
Calculates the sunrise or sunset based on a location
-
checkLeapYear
-
Check a given year for leap year.
-
compare
-
Compares a date or datepart with the existing one.
-
compareArpa
-
Compares a RFC 822 compilant date with the date object.
-
compareDate
-
Compares the date from the existing date object, ignoring the time.
-
compareDay
-
Compares the day with the existing date object, ignoring other date parts.
-
compareDayOfYear
-
Compares the day of year with the existing date object.
-
compareHour
-
Compares the hour with the existing date object.
-
compareIso
-
Compares a ISO date with the date object. Not given parts are set to default.
-
compareMilliSecond
-
Compares only the millisecond part, returning the difference
-
compareMinute
-
Compares the minute with the existing date object.
-
compareMonth
-
Compares the month with the existing date object, ignoring other date parts.
-
compareSecond
-
Compares the second with the existing date object.
-
compareTime
-
Compares the time from the existing date. Format defines how to parse the time string.
-
compareTimestamp
-
Compares two timestamps, returning the difference as integer
-
compareWeek
-
Compares only the week part, returning the difference
-
compareWeekday
-
Compares the weekday with the existing date object, ignoring other date parts.
-
compareYear
-
Compares the year with the existing date object, ignoring other date parts.
-
COOKIE
-
-
copyPart
-
Returns a new instance of Zend_Date with the selected part copied.
-
getCityList
-
Return a list with all known cities
-
getOperand
-
-
getView
-
-
get
-
Returns a representation of a date or datepart This could be for example a localized monthname, the time without date, the era or only the fractional seconds. There are about 50 different supported date parts.
-
getArpa
-
Returns a RFC 822 compilant datestring from the date object.
-
getDate
-
Returns a clone of $this, with the time part set to 00:00:00.
-
getDateParts
-
Internal getDateParts function for handling 64bit timestamps, similar to: http://www.php.net/getdate
-
getDay
-
Returns the day as new date object Example: 20.May.1986 -> 20.Jan.1970 00:00:00
-
getDayOfYear
-
Returns the day of year as new date object Example: 02.Feb.1986 10:00:00 -> 02.Feb.1970 00:00:00
-
getFractionalPrecision
-
Returns the precision for fractional seconds
-
getGmtOffset
-
Return the offset to GMT of $this object's timezone.
-
getHour
-
Returns the hour as new date object Example: 02.Feb.1986 10:30:25 -> 01.Jan.1970 10:00:00
-
getIso
-
Returns the full ISO 8601 date from the date object.
-
getLocale
-
Returns the actual set locale
-
getMilliSecond
-
Returns the milliseconds of the date object
-
getMinute
-
Returns the minute as new date object Example: 02.Feb.1986 10:30:25 -> 01.Jan.1970 00:30:00
-
getMonth
-
Returns only the month from the date object as new object.
-
getSecond
-
Returns the second as new date object Example: 02.Feb.1986 10:30:25 -> 01.Jan.1970 00:00:25
-
getSunInfo
-
Returns an array with the sunset and sunrise dates for all horizon types For a list of cities and correct locations use the class Zend_Date_Cities
-
getSunrise
-
Returns the time of sunrise for this date and a given location as new date object For a list of cities and correct locations use the class Zend_Date_Cities
-
getSunset
-
Returns the time of sunset for this date and a given location as new date object For a list of cities and correct locations use the class Zend_Date_Cities
-
getTime
-
Returns only the time of the date as new Zend_Date object For example: 15.May.2000 10:11:23 will return a dateobject equal to 01.Jan.1970 10:11:23
-
getTimestamp
-
Returns this object's internal UNIX timestamp (equivalent to Zend_Date::TIMESTAMP).
-
getTimezone
-
Return the timezone of $this object.
-
getUnixTimestamp
-
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.
-
getWeek
-
Returns the week as new date object using monday as begining of the week Example: 12.Jan.2007 -> 08.Jan.1970 00:00:00
-
getWeekday
-
Returns the weekday as new date object Weekday is always from 1-7 Example: 09-Jan-2007 -> 2 = Tuesday -> 02-Jan-1970 (when 02.01.1970 is also Tuesday)
-
getYear
-
Returns only the year from the date object as new object.
-
GMT_DIFF
-
-
GMT_DIFF_SEP
-
-
SECOND
-
-
SECOND_SHORT
-
-
set
-
Sets the given date as new date or a given datepart as new datepart returning the new datepart This could be for example a localized dayname, the date without time, the month or only the seconds. There are about 50 different supported date parts.
-
setArpa
-
Sets a RFC 822 date as new date for the date object.
-
setDate
-
Sets a new date for the date object. Format defines how to parse the date string.
-
setDay
-
Sets a new day The day can be a number or a string. Setting days lower then 0 or greater than the number of this months days will result in adding or subtracting the relevant month.
-
setDayOfYear
-
Sets a new day of year The day of year is always a number.
-
setFractionalPrecision
-
Sets a new precision for fractional seconds
-
setHour
-
Sets a new hour The hour is always a number.
-
setIso
-
Sets a new date for the date object. Not given parts are set to default.
-
setLocale
-
Sets a new standard locale for the date object.
-
setMilliSecond
-
Sets new milliseconds for the date object Example: setMilliSecond(550, 2) -> equals +5 Sec +50 MilliSec
-
setMinute
-
Sets a new minute The minute is always a number.
-
setMonth
-
Sets a new month
-
setOptions
-
Sets class wide options, if no option was given, the actual set options will be returned
-
setSecond
-
Sets new seconds to the existing date object.
-
setTime
-
Sets a new time for the date object. Format defines how to parse the time string.
-
setTimestamp
-
Sets a new timestamp
-
setTimezone
-
Sets a new timezone for calculation of $this object's gmt offset.
-
setUnixTimestamp
-
Set this object to have a new UNIX timestamp.
-
setWeek
-
Sets a new week. The week is always a number. The day of week is not changed.
-
setWeekday
-
Sets a new weekday The weekday can be a number or a string. If a localized weekday name is given, then it will be parsed as a date in $locale (defaults to the same locale as $this).
-
setYear
-
Sets a new year
-
sub
-
Subtracts a date from another date.
-
subArpa
-
Subtracts a RFC 822 date from the date object.
-
subDate
-
Subtracts a date from the existing date object. Format defines how to parse the date string.
-
subDay
-
Subtracts days from the existing date object.
-
subDayOfYear
-
Subtracts a day of year from the existing date object.
-
subHour
-
Subtracts hours from the existing date object.
-
subIso
-
Subtracts a ISO date from the date object. Not given parts are set to default.
-
subMilliSecond
-
Subtracts a millisecond
-
subMinute
-
Subtracts minutes from the existing date object.
-
subMonth
-
Subtracts months from the existing date object.
-
subSecond
-
Subtracts seconds from the existing date object.
-
subTime
-
Subtracts a time from the existing date. Format defines how to parse the time string.
-
subTimestamp
-
Subtracts a timestamp
-
subWeek
-
Subtracts a week. The week is always a number. The day of week is not changed.
-
subWeekday
-
Subtracts weekdays from the existing date object.
-
subYear
-
Subs the year from the existing date object
-
SWATCH
-