-
$day
-
-
$day
-
the day
-
$default
-
System Default Time Zone
-
$dstlongname
-
DST Long Name of this time zone
-
$dstshortname
-
DST Short Name of this timezone
-
Date
-
Generic date handling class for PEAR.
-
Date
-
Constructor
-
dateDiff
-
Returns number of days between two given dates.
-
dateFormat
-
Formats the date in the given format, much like strfmt(). This function is used to alleviate the problem with 32-bit numbers for dates pre 1970 or post 2038, as strfmt() has on most systems.
-
dateNow
-
Returns the current local date. NOTE: This function retrieves the local date using strftime(), which may or may not be 32-bit safe on your system.
-
dateSeason
-
Determines julian date of the given season Adapted from previous work in Java by James Mark Hamilton, mhamilton@qwest.net
-
dateToDays
-
Converts a date to number of days since a distant unspecified epoch.
-
Date_Calc
-
Date_Calc is a calendar class used to calculate and
-
DATE_CALC_BEGIN_WEEKDAY
-
-
DATE_FORMAT_ISO
-
"YYYY-MM-DD HH:MM:SS"
-
DATE_FORMAT_ISO_BASIC
-
"YYYYMMSSTHHMMSS(Z|(+/-)HHMM)?"
-
DATE_FORMAT_ISO_EXTENDED
-
"YYYY-MM-SSTHH:MM:SS(Z|(+/-)HH:MM)?"
-
DATE_FORMAT_ISO_EXTENDED_MICROTIME
-
"YYYY-MM-SSTHH:MM:SS(.S*)?(Z|(+/-)HH:MM)?"
-
DATE_FORMAT_TIMESTAMP
-
"YYYYMMDDHHMMSS"
-
DATE_FORMAT_UNIXTIME
-
long int, seconds since the unix epoch
-
Date_Human
-
Class to convert date strings between Gregorian and Human calendar formats.
-
Date_Span
-
Constructor.
-
Date_Span
-
Generic time span handling class for PEAR.
-
DATE_SPAN_INPUT_FORMAT_NNSV
-
Non Numeric Separated Values (NNSV) Input Format.
-
Date_TimeZone
-
Constructor
-
Date_TimeZone
-
TimeZone representation class, along with time zone information data.
-
dayOfWeek
-
Returns day of week for given date, 0=Sunday
-
daysInMonth
-
Find the number of days in the given month.
-
daysToDate
-
Converts number of days to a distant unspecified epoch.
-
defaultCentury
-
Sets century for 2 digit year.
-
Date.php
-
-
Date.php
-
-
getAvailableIDs
-
Returns the list of valid time zone id strings
-
getCalendarMonth
-
Return a set of arrays to construct a calendar month for the given date.
-
getCalendarWeek
-
Return an array with days in week
-
getCalendarYear
-
Return a set of arrays to construct a calendar year for the given date.
-
getDate
-
Get a string (or other) representation of this date
-
getDay
-
Returns the day field of the date object
-
getDay
-
Returns the current local day in format DD
-
getDayName
-
Gets the full name or abbriviated name of this weekday
-
getDayOfWeek
-
Gets the day of the week for this date
-
getDaysInMonth
-
Gets number of days in the month for this date
-
getDefault
-
Return a TimeZone object representing the system default time zone
-
getDefaultFormat
-
Get the default format.
-
getDefaultInputFormat
-
Get the default input format.
-
getDSTLongName
-
Returns the DST long name for this time zone
-
getDSTSavings
-
Get the DST offset for this time zone
-
getDSTShortName
-
Returns the DST short name for this time zone
-
getHour
-
Returns the hour field of the date object
-
getID
-
Returns the id for this time zone
-
getJulianDate
-
Get the Julian date for this date
-
getLongName
-
Returns the long name for this time zone
-
getMinute
-
Returns the minute field of the date object
-
getMonth
-
Returns the current local month in format MM
-
getMonth
-
Returns the month field of the date object
-
getMonthAbbrname
-
Returns the abbreviated month name for the given month
-
getMonthFromFullName
-
Returns the numeric month from the month name or an abreviation
-
getMonthFullname
-
Returns the full month name for the given month
-
getMonthName
-
Gets the full name or abbriviated name of this month
-
getMonthNames
-
Returns an array of month names
-
getNextDay
-
Get a Date object for the day after this one
-
getNextWeekday
-
Get a Date object for the weekday after this one
-
getOffset
-
Get the DST-corrected offset to UTC for the given date
-
getPrevDay
-
Get a Date object for the day before this one
-
getPrevWeekday
-
Get a Date object for the weekday before this one
-
getQuarterOfYear
-
Gets the quarter of the year for this date
-
getRawOffset
-
Returns the raw (non-DST-corrected) offset from UTC/GMT for this time zone
-
getSecond
-
Returns the second field of the date object
-
getShortName
-
Returns the short name for this time zone
-
getTime
-
Get this date/time in Unix time() format
-
getWeekdayAbbrname
-
Returns the abbreviated weekday name for the given date
-
getWeekdayFullname
-
Returns the full weekday name for the given date
-
getWeekDays
-
Returns an array of week days
-
getWeekOfYear
-
Gets the week of the year for this date
-
getWeeksInMonth
-
Gets the number of weeks in the month for this date
-
getYear
-
Returns the year field of the date object
-
getYear
-
Returns the current local year in format CCYY
-
greater
-
Tells if this time span is greater than $time.
-
greaterEqual
-
Tells if this time span is greater or equal than $time.
-
gregorianToHuman
-
Returns an associative array containing the converted date information in 'Human Calendar' format.
-
gregorianToISO
-
Converts from Gregorian Year-Month-Day to ISO YearNumber-WeekNumber-WeekDay
-
$id
-
Time Zone ID of this time zone
-
inDaylightTime
-
Tests if this date/time is in DST
-
inDaylightTime
-
Is the given date/time in DST for this time zone
-
isEmpty
-
Tells if the time span is empty (zero length).
-
isEqual
-
Is this time zone equal to another
-
isEquivalent
-
Is this time zone equivalent to another
-
isFuture
-
Determine if this date is in the future
-
isFutureDate
-
Determines if given date is a future date from now.
-
isLeapYear
-
Determine if the year in this date is a leap year
-
isLeapYear
-
Returns true for a leap year, else false
-
isPast
-
Determine if this date is in the past
-
isPastDate
-
Determines if given date is a past date from now.
-
isValidDate
-
Returns true for valid date, false for invalid date.
-
isValidID
-
Tests if given id is represented in the $_DATE_TIMEZONE_DATA time zone data
-
$second
-
the second
-
$second
-
-
$shortname
-
Short Name of this time zone (ie CST)
-
Span.php
-
-
Span.php
-
-
set
-
Set the time span to a new value in a 'smart' way.
-
setDate
-
Set the fields of a Date object based on the input date and format
-
setDay
-
Set the day field of the date object
-
setDefault
-
Sets the system default time zone to the time zone in $id
-
setDefaultFormat
-
Set the default format.
-
setDefaultInputFormat
-
Set the default input format.
-
setFromArray
-
Set the time span from an array.
-
setFromDateDiff
-
Set the span from the elapsed time between two dates.
-
setFromDays
-
Set the time span from a total number of days.
-
setFromHours
-
Set the time span from a total number of hours.
-
setFromMinutes
-
Set the time span from a total number of minutes.
-
setFromSeconds
-
Set the time span from a total number of seconds.
-
setFromString
-
Set the time span from a string based on an input format.
-
setHour
-
Set the hour field of the date object
-
setMinute
-
Set the minute field of the date object
-
setMonth
-
Set the month field of the date object
-
setSecond
-
Set the second field of the date object
-
setTZ
-
Sets the time zone of this Date
-
setTZbyID
-
Sets the time zone of this date with the given time zone id
-
setYear
-
Set the year field of the date object
-
subtract
-
Subtracts a time span.
-
subtractSeconds
-
Subtracts a given number of seconds from the date
-
subtractSpan
-
Subtracts a time span to the date