Downloads
Documentation
Get Involved
Help
Search docs
PHP 8.4.2 Released!
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
Manuale PHP
Guida Funzioni
Estensioni correlate a calendari ed eventi
Date/Time
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 la UNIX timestamp 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.
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google