Документация PHP


Date and Time

checkdate

Date and Time

PHP Manual


Date and Time Функции

Содержание

  • checkdate — Проверяет правильность даты по грегорианскому календарю
  • date_create — Returns new DateTime object
  • date_date_set — Sets the date
  • 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_format — Returns date formatted according to given format
  • date_isodate_set — Sets the ISO date
  • date_modify — Alters the timestamp
  • date_offset_get — Returns the daylight saving time offset
  • date_parse — Returns associative array with detailed info about given date
  • 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 — Sets the time
  • date_timezone_get — Return time zone relative to given DateTime
  • date_timezone_set — Sets the time zone for the DateTime object
  • date — Форматирует системную дату/время
  • getdate — Возвращает информацию о дате/времени
  • gettimeofday — Возвращает текущее время
  • gmdate — Форматирует дату/время по Гринвичу
  • gmmktime — Возвращает метку времени Unix для времени по Гринвичу
  • gmstrftime — Форматирует дату/время по Гринвичу с учетом текущей локали
  • idate — Format a local time/date as integer
  • localtime — Возвращает системное время
  • microtime — Возвращает метку времени с микросекундами
  • mktime — Возвращает метку времени для заданной даты
  • strftime — Форматирует текущую дату/время с учетом текущей локали
  • strptime — Parse a time/date generated with strftime
  • strtotime — Преобразует текстовое представление даты на английском языке в метку времени Unix
  • time — Возвращает текущую метку времени
  • timezone_abbreviations_list — Returns associative array containing dst, offset and the timezone name
  • timezone_identifiers_list — Returns numerically index array with all timezone identifiers
  • timezone_name_from_abbr — Returns the timezone name from abbrevation
  • timezone_name_get — Returns the name of the timezone
  • timezone_offset_get — Returns the timezone offset from GMT
  • timezone_open — Returns new DateTimeZone object
  • timezone_transitions_get — Returns all transitions for the timezone


Date and Time

checkdate

Date and Time

PHP Manual

SAPE все усложнил?

MainLink - простая и прибыльная продажа ссылок!

Последние поступления:

Размещена 10 августа 2020 года

Я по ТВ видел, что через 10 лет мы будем жить лучше, чем в Германии...
Я не понял, что это они с Германией сделать хотят?!

читать далее…

ТехЗадание на Землю

Размещена 14 марта 2018 года

Пpоект Genesis (из коpпоpативной пеpеписки)

читать далее…

Шпаргалка по работе с Vim

Размещена 05 декабря 2017 года

Vim довольно мощный редактор, но работа с ним не всегда наглядна.
Например если нужно отредактировать какой-то файл например при помощи crontab, без знания специфики работы с viv никак.

читать далее…

Ошибка: Error: Cannot find a valid baseurl for repo

Размещена 13 сентабря 2017 года

Если возникает ошибка на centos 5 вида
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/

читать далее…

Linux Optimization

Размещена 30 июля 2012 года

Prelink

читать далее…