下载
文档
参与
帮助
全栈开发网
基金会
Search docs
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
checkdate »
« DatePeriod::getStartDate
Посібник з PHP
Довідник функцій
Розширення, що стосуються дати й часу
Дата/Час
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
Функції Дати/часу
Зміст
checkdate
— Validate a Gregorian date
date
— Format a Unix timestamp
date_add
— Псевдонім DateTime::add
date_create
— Псевдонім DateTime::__construct
date_create_from_format
— Псевдонім DateTime::createFromFormat
date_create_immutable
— Псевдонім DateTimeImmutable::__construct
date_create_immutable_from_format
— Псевдонім DateTimeImmutable::createFromFormat
date_date_set
— Псевдонім 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
— Псевдонім DateTime::diff
date_format
— Псевдонім DateTime::format
date_get_last_errors
— Псевдонім DateTimeImmutable::getLastErrors
date_interval_create_from_date_string
— Псевдонім DateInterval::createFromDateString
date_interval_format
— Псевдонім DateInterval::format
date_isodate_set
— Псевдонім DateTime::setISODate
date_modify
— Псевдонім DateTime::modify
date_offset_get
— Псевдонім DateTime::getOffset
date_parse
— Returns associative array with detailed info about given date/time
date_parse_from_format
— Get info about given date formatted according to the specified format
date_sub
— Псевдонім 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
— Псевдонім DateTime::setTime
date_timestamp_get
— Псевдонім DateTime::getTimestamp
date_timestamp_set
— Псевдонім DateTime::setTimestamp
date_timezone_get
— Псевдонім DateTime::getTimezone
date_timezone_set
— Псевдонім DateTime::setTimezone
getdate
— Get date/time information
gettimeofday
— Get current time
gmdate
— Format a GMT/UTC date/time
gmmktime
— Get Unix timestamp for a GMT date
gmstrftime
— Format a GMT/UTC time/date according to locale settings
idate
— Format a local time/date part as integer
localtime
— Get the local time
microtime
— Return current Unix timestamp with microseconds
mktime
— Get Unix timestamp for a date
strftime
— Format a local time/date according to locale settings
strptime
— Parse a time/date generated with strftime
strtotime
— Parse about any English textual datetime description into a Unix timestamp
time
— Return current Unix timestamp
timezone_abbreviations_list
— Псевдонім DateTimeZone::listAbbreviations
timezone_identifiers_list
— Псевдонім DateTimeZone::listIdentifiers
timezone_location_get
— Псевдонім DateTimeZone::getLocation
timezone_name_from_abbr
— Returns a timezone name by guessing from abbreviation and UTC offset
timezone_name_get
— Псевдонім DateTimeZone::getName
timezone_offset_get
— Псевдонім DateTimeZone::getOffset
timezone_open
— Псевдонім DateTimeZone::__construct
timezone_transitions_get
— Псевдонім DateTimeZone::getTransitions
timezone_version_get
— Gets the version of the timezonedb
Improve This Page
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google