中文文档
English
Spanish
French
Japanese
Brazilian
German
Turkish
Russian
Giriş »
« unixtojd
PHP Kılavuzu
İşlev Başvuru Kılavuzu
Tarih ve Saat ile İlgili Eklentiler
Tarih ve Zaman
Giriş
Yapılandırma/Kurulum
Gereksinimler
Kurulum
Çalışma Anı Yapılandırması
Özkaynak Türleri
Öntanımlı Sabitler
Örnekler
Date/Time Arithmetic
DateTime
— DateTime sınıfı
DateTime::add
— Modifies a DateTime object, with added amount of days, months, years, hours, minutes and seconds
DateTime::__construct
— Returns new DateTime object
DateTime::createFromFormat
— Parses a time string according to a specified format
DateTime::createFromImmutable
— Returns new DateTime instance encapsulating the given DateTimeImmutable object
DateTime::createFromInterface
— Returns new DateTime object encapsulating the given DateTimeInterface object
DateTime::getLastErrors
— Takma Adı: DateTimeImmutable::getLastErrors
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
— DateTimeImmutable sınıfı
DateTimeImmutable::add
— Returns a new object, with added amount of days, months, years, hours, minutes and seconds
DateTimeImmutable::__construct
— Returns new DateTimeImmutable object
DateTimeImmutable::createFromFormat
— Parses a time string according to a specified format
DateTimeImmutable::createFromInterface
— Returns new DateTimeImmutable object encapsulating the given DateTimeInterface object
DateTimeImmutable::createFromMutable
— Returns new DateTimeImmutable instance encapsulating the given DateTime object
DateTimeImmutable::getLastErrors
— Returns the warnings and errors
DateTimeImmutable::modify
— Creates a new object with modified 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 a Unix timestamp
DateTimeImmutable::setTimezone
— Sets the time zone
DateTimeImmutable::sub
— Subtracts an amount of days, months, years, hours, minutes and seconds
DateTimeInterface
— DateTimeInterface arayüzü
DateTimeInterface::diff
— Returns the difference between two DateTime objects
DateTimeInterface::format
— Returns date formatted according to given format
DateTimeInterface::getOffset
— Returns the timezone offset
DateTimeInterface::getTimestamp
— Gets the Unix timestamp
DateTimeInterface::getTimezone
— Return time zone relative to given DateTime
DateTime::__wakeup
— The __wakeup handler
DateTimeZone
— DateTimeZone sınıfı
DateTimeZone::__construct
— Yeni bir DateTimeZone nesnesi oluşturur
DateTimeZone::getLocation
— Zaman dilimi konum bilgisini döndürür
DateTimeZone::getName
— Zaman diliminin adını döndürür
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
— DateInterval sınıfı
DateInterval::__construct
— Yeni bir DateInterval nesnesi oluşturur
DateInterval::createFromDateString
— Dizgenin göreli kısımlarından bir DateInterval nesnesi döndürür
DateInterval::format
— Zaman aralığını biçimler
DatePeriod
— DatePeriod sınıfı
DatePeriod::__construct
— Yeni bir DatePeriod nesnesi oluşturur
DatePeriod::createFromISO8601String
— Creates a new DatePeriod object from an ISO8601 string
DatePeriod::getDateInterval
— Gets the interval
DatePeriod::getEndDate
— Gets the end date
DatePeriod::getRecurrences
— Gets the number of recurrences
DatePeriod::getStartDate
— Gets the start date
Tarih ve Zaman İşlevleri
checkdate
— Miladi tarihi doğrular
date_add
— DateTime::add işlevinin takma adıdır
date_create_from_format
— DateTime::createFromFormat işlevinin takma adıdır
date_create_immutable_from_format
— DateTimeImmutable::createFromFormat işlevinin takma adı
date_create_immutable
— Yeni bir DateTimeImmutable nesnesi oluşturur
date_create
— Yeni bir DateTime nesnesi oluşturur
date_date_set
— DateTime::setDate işlevinin takma adıdır
date_default_timezone_get
— Betik içerisindeki tüm tarih/zaman işlevleri tarafından kullanılan öntanımlı zaman dilimini getirir
date_default_timezone_set
— Betik içerisindeki tüm tarih/zaman işlevleri tarafından kullanılan öntanımlı zaman dilimini ayarlar
date_diff
— DateTime::diff işlevinin takma adıdır
date_format
— DateTime::format işlevinin takma adıdır
date_get_last_errors
— DateTimeImmutable::getLastErrors işlevinin takma adıdır
date_interval_create_from_date_string
— DateInterval::createFromDateString işlevinin takma adıdır
date_interval_format
— DateInterval::format işlevinin takma adıdır
date_isodate_set
— DateTime::setISODate işlevinin takma adıdır
date_modify
— DateTime::modify işlevinin takma adıdır
date_offset_get
— DateTime::getOffset işlevinin takma adıdır
date_parse_from_format
— Belirtildiği gibi biçimlendirilmiş olarak tarih hakkında bilgi verir
date_parse
— Verilen tarih/zaman hakkındaki ayrıntılı bilgiyi ilişkisel dizi olarak döndürür
date_sub
— DateTime::sub işlevinin takma adıdır
date_sun_info
— Güneşin doğuşu/batışı ve alacakaranlık başlangıcı/sonu hakkında bilgi içeren bir dizi döndürür
date_sunrise
— Belirtilen gün ve konum için şafak zamanını döndürür
date_sunset
— Verilen gün ve konum için günbatımı zamanını döndürür
date_time_set
— DateTime::setTime işlevinin takma adıdır
date_timestamp_get
— DateTime::getTimestamp işlevinin takma adıdır
date_timestamp_set
— DateTime::setTimestamp işlevinin takma adıdır
date_timezone_get
— DateTime::getTimezone işlevinin takma adıdır
date_timezone_set
— DateTime::setTimezone işlevinin takma adıdır
date
— Unix zaman damgasını biçimlendirir
getdate
— Tarih/zaman bilgisi getirir
gettimeofday
— Geçerli zamanı getirir
gmdate
— Bir tarih/saati GMT/UTC tarih/saati olarak biçemler
gmmktime
— Bir GMT tarihi için Unix zaman damgasını döndürür
gmstrftime
— Yerel ayarlara göre tarih ve saati, UTC türüne çevirir
idate
— Yerel zaman/tarih kısmını tamsayı olarak biçimlendirir
localtime
— Yerel zamanı getirir
microtime
— Geçerli Unix zaman damgasını mikrosaniye olarak döndürür
mktime
— Bir tarih için Unix zaman damgasını döndürür
strftime
— Format a local time/date according to locale settings
strptime
— strftime işleviyle üretilen zaman ve tarihleri çözümler
strtotime
— Parse about any English textual datetime description into a Unix timestamp
time
— Geçerli Unix zaman damgasını döndürür
timezone_abbreviations_list
— DateTimeZone::listAbbreviations işlevinin takma adıdır
timezone_identifiers_list
— DateTimeZone::listIdentifiers işlevinin takma adıdır
timezone_location_get
— DateTimeZone::getLocation işlevinin takma adıdır
timezone_name_from_abbr
— Kısaltmasından ve UTC farkından tahminen zaman diliminin adını döndürür
timezone_name_get
— DateTimeZone::getName işlevinin takma adıdır
timezone_offset_get
— DateTimeZone::getOffset işlevinin takma adıdır
timezone_open
— DateTimeZone::__construct için takma ad
timezone_transitions_get
— DateTimeZone::getTransitions işlevinin takma adıdır
timezone_version_get
— timezonedb sürümünü döndürür
Tarih/Saat Hataları ve İstisnaları
Supported Date and Time Formats
Desteklenen Zaman Dilimlerinin Listesi
Afrika
Amerika
Antarktika
Kuzey Kutup Dairesi
Asya
Atlantik
Avustralya
Avrupa
Hint Denizi
Pasifik
Diğerleri
DateError
— The DateError class
DateObjectError
— The DateObjectError class
DateRangeError
— The DateRangeError class
DateException
— The DateException class
DateInvalidOperationException
— The DateInvalidOperationException class
DateInvalidTimeZoneException
— The DateInvalidTimeZoneException class
DateMalformedIntervalStringException
— The DateMalformedIntervalStringException class
DateMalformedPeriodStringException
— The DateMalformedPeriodStringException class
DateMalformedStringException
— The DateMalformedStringException class