Better PHP Documentation
opinionated
Open main menu
Get Started
Documentation
Community
Training
Better PHP Documentation
Close menu
Get Started
Documentation
Community
Training
Log in
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
Date/Time Funzioni
Indice dei contenuti
checkdate
— Valida una data gregoriana
date
— Formatta un timestamp Unix
date_add
— Alias di DateTime::add
date_create
— create a new DateTime object
date_create_from_format
— Alias di DateTime::createFromFormat
date_create_immutable
— create a new DateTimeImmutable object
date_create_immutable_from_format
— Alias di DateTimeImmutable::createFromFormat
date_date_set
— Alias di 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 di DateTime::diff
date_format
— Alias di DateTime::format
date_get_last_errors
— Alias di DateTimeImmutable::getLastErrors
date_interval_create_from_date_string
— Alias di DateInterval::createFromDateString
date_interval_format
— Alias di DateInterval::format
date_isodate_set
— Alias di DateTime::setISODate
date_modify
— Alias di DateTime::modify
date_offset_get
— Alias di 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
— Alias di 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 di DateTime::setTime
date_timestamp_get
— Alias di DateTime::getTimestamp
date_timestamp_set
— Alias di DateTime::setTimestamp
date_timezone_get
— Alias di DateTime::getTimezone
date_timezone_set
— Alias di DateTime::setTimezone
getdate
— Restituisce informazioni sulla data/orario
gettimeofday
— Restituisce l'orario attuale
gmdate
— Formatta una data/ora GMT/UTC
gmmktime
— Riceve l'UNIX timestamp per una data GMT
gmstrftime
— Formatta una data/ora GMT/UTC secondo i parametri locali
idate
— Format a local time/date part as integer
localtime
— Riceve l'orario locale
microtime
— Restituisce l'attuale UNIX timestamp con i microsecondi
mktime
— Restituisce il timestamp Unix per una data
strftime
— Formatta una data/orario locale accordandola/o alle impostazioni locali according to locale settings
strptime
— Parse a time/date generated with strftime
strtotime
— Analizza qualsiasi descrizione datetime testuale inglese e la converte in uno Unix timestamp
time
— Restituisce l'attuale UNIX timestamp
timezone_abbreviations_list
— Alias di DateTimeZone::listAbbreviations
timezone_identifiers_list
— Alias di DateTimeZone::listIdentifiers
timezone_location_get
— Alias di DateTimeZone::getLocation
timezone_name_from_abbr
— Returns a timezone name by guessing from abbreviation and UTC offset
timezone_name_get
— Alias di DateTimeZone::getName
timezone_offset_get
— Alias di DateTimeZone::getOffset
timezone_open
— Alias di DateTimeZone::__construct
timezone_transitions_get
— Alias di DateTimeZone::getTransitions
timezone_version_get
— Gets the version of the timezonedb
Found A Problem?
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.
0
pcntl_sigtimedwait
Waits for signals, with a timeout
0
similar_text
Calculate the similarity between two strings
0
boolval
Get the boolean value of a variable
0
curl_multi_close
Close a set of cURL handles
0
imap_body
Read the message body
0
mb_strpos
Find position of first occurrence of string in a string
0
pg_send_prepare
Sends a request to create a prepared statement with the given parameters, without waiting for completion
0
swoole_native_socket_bind
0
Arr::prependKeysWith
0
zend_version
Gets the version of the current Zend engine
^