unixtojd
Einführung
Datums- und zeitrelevante Erweiterungen
PHP Manual

# Datum und Uhrzeit

- Einführung
- Installation/Konfiguration
  - Anforderungen
  - Installation
  - Laufzeit-Konfiguration
  - Ressource-Typen
- Vordefinierte Konstanten
- DateTime — The DateTime class
  - DateTime::add — Adds an amount of days, months, years, hours, minutes and seconds to a DateTime object
  - DateTime::__construct — Returns new DateTime object
  - DateTime::createFromFormat — Returns new DateTime object formatted according to the specified format
  - DateTime::getLastErrors — Returns the warnings and errors
  - DateTime::modify — Alters the timestamp
  - DateTime::__set_state — The __set_state handler
  - DateTime::setDate — Sets the date
  - DateTime::setISODate — Sets the ISO date
  - DateTime::setTime — Sets the time
  - DateTime::setTimestamp — Sets the date and time based on an Unix timestamp
  - DateTime::setTimezone — Sets the time zone for the DateTime object
  - DateTime::sub — Subtracts an amount of days, months, years, hours, minutes and seconds from a DateTime object
- DateTimeImmutable — The DateTimeImmutable class
  - DateTimeImmutable::add — Adds an amount of days, months, years, hours, minutes and seconds
  - DateTimeImmutable::__construct — Returns new DateTimeImmutable object
  - DateTimeImmutable::createFromFormat — Returns new DateTimeImmutable object formatted according to the specified format
  - DateTimeImmutable::getLastErrors — Returns the warnings and errors
  - DateTimeImmutable::modify — Alters the timestamp
  - DateTimeImmutable::__set_state — The __set_state handler
  - DateTimeImmutable::setDate — Sets the date
  - DateTimeImmutable::setISODate — Sets the ISO date
  - DateTimeImmutable::setTime — Sets the time
  - DateTimeImmutable::setTimestamp — Sets the date and time based on an Unix timestamp
  - DateTimeImmutable::setTimezone — Sets the time zone
  - DateTimeImmutable::sub — Subtracts an amount of days, months, years, hours, minutes and seconds
- DateTimeInterface — The DateTimeInterface interface
  - DateTime::diff — Returns the difference between two DateTime objects
  - DateTime::format — Returns date formatted according to given format
  - DateTime::getOffset — Returns the timezone offset
  - DateTime::getTimestamp — Gets the Unix timestamp
  - DateTime::getTimezone — Return time zone relative to given DateTime
  - DateTime::__wakeup — The __wakeup handler
- DateTimeZone — The DateTimeZone class
  - DateTimeZone::__construct — Creates new DateTimeZone object
  - DateTimeZone::getLocation — Returns location information for a timezone
  - DateTimeZone::getName — Returns the name of the timezone
  - DateTimeZone::getOffset — Returns the timezone offset from GMT
  - DateTimeZone::getTransitions — Returns all transitions for the timezone
  - DateTimeZone::listAbbreviations — Returns associative array containing dst, offset and the timezone name
  - DateTimeZone::listIdentifiers — Returns a numerically indexed array containing all defined timezone identifiers
- DateInterval — The DateInterval class
  - DateInterval::__construct — Creates a new DateInterval object
  - DateInterval::createFromDateString — Sets up a DateInterval from the relative parts of the string
  - DateInterval::format — Formats the interval
- DatePeriod — The DatePeriod class
  - DatePeriod::__construct — Creates a new DatePeriod object
- Datum/Uhrzeit Funktionen
  - checkdate — Prüft ein Gregorianisches Datum auf Gültigkeit
  - date_add — Alias von DateTime::add
  - date_create_from_format — Alias von DateTime::createFromFormat
  - date_create_immutable_from_format — Alias von DateTimeImmutable::createFromFormat
  - date_create_immutable — Alias von DateTimeImmutable::__construct
  - date_create — Alias von DateTime::__construct
  - date_date_set — Alias von DateTime::setDate
  - date_default_timezone_get — Gets the default timezone used by all date/time functions in a script
  - date_default_timezone_set — Sets the default timezone used by all date/time functions in a script
  - date_diff — Alias von DateTime::diff
  - date_format — Alias von DateTime::format
  - date_get_last_errors — Alias von DateTime::getLastErrors
  - date_interval_create_from_date_string — Alias von DateInterval::createFromDateString
  - date_interval_format — Alias von DateInterval::format
  - date_isodate_set — Alias von DateTime::setISODate
  - date_modify — Alias von DateTime::modify
  - date_offset_get — Alias von DateTime::getOffset
  - date_parse_from_format — Get info about given date formatted according to the specified format
  - date_parse — Returns associative array with detailed info about given date
  - date_sub — Alias von DateTime::sub
  - date_sun_info — Returns an array with information about sunset/sunrise and twilight begin/end
  - date_sunrise — Returns time of sunrise for a given day and location
  - date_sunset — Returns time of sunset for a given day and location
  - date_time_set — Alias von DateTime::setTime
  - date_timestamp_get — Alias von DateTime::getTimestamp
  - date_timestamp_set — Alias von DateTime::setTimestamp
  - date_timezone_get — Alias von DateTime::getTimezone
  - date_timezone_set — Alias von DateTime::setTimezone
  - date — Formatiert ein(e) angegebene(s) Ortszeit/Datum
  - getdate — Gibt Datums- und Zeitinformationen zurück
  - gettimeofday — Ermittelt die aktuelle Zeit
  - gmdate — Formatiert eine GMT/UTC Zeit-/Datumsangabe
  - gmmktime — Gibt einen Unix-Timestamp (Zeitstempel) für ein GMT Datum zurück
  - gmstrftime — Formatiert eine Datum-/Zeitangabe in GMT/UTC-Format entsprechend den lokalen Einstellungen
  - idate — Format a local time/date as integer
  - localtime — Ermittelt die lokale Zeit
  - microtime — Gibt den aktuellen Unix-Timestamp/Zeitstempel mit Mikrosekunden zurück
  - mktime — Gibt den Unix-Timestamp/Zeitstempel für ein Datum zurück
  - strftime — Formatiert eine Zeit-/Datumsangabe nach den lokalen Einstellungen
  - strptime — Parse a time/date generated with strftime
  - strtotime — Wandelt ein beliebiges in englischer Textform angegebenes Datum in einen UNIX-Zeitstempel (Timestamp) um
  - time — Gibt den aktuellen Unix-Timestamp/Zeitstempel zurück
  - timezone_abbreviations_list — Alias von DateTimeZone::listAbbreviations
  - timezone_identifiers_list — Alias von DateTimeZone::listIdentifiers
  - timezone_location_get — Alias von DateTimeZone::getLocation
  - timezone_name_from_abbr — Gibt den Namen der Zeitzonenabkürzung zurück
  - timezone_name_get — Alias von DateTimeZone::getName
  - timezone_offset_get — Alias von DateTimeZone::getOffset
  - timezone_open — Alias von DateTimeZone::__construct
  - timezone_transitions_get — Alias von DateTimeZone::getTransitions
  - timezone_version_get — Gets the version of the timezonedb
- Supported Date and Time Formats
  - Time Formats
  - Date Formats
  - Compound Formats
  - Relative Formats
- Liste unterstützter Zeitzonen
  - Afrika
  - Amerika
  - Antarktis
  - Arktis
  - Asien
  - Atlantisch
  - Australien
  - Europa
  - Indisch
  - Pazifisch
  - Andere

unixtojd
Einführung
Datums- und zeitrelevante Erweiterungen
PHP Manual