PHP ManualDate and Time FunctionsIntroductionThese functions allow you to get the date and time from the server where your PHP scripts are running. You can use these functions to format the date and time in many different ways.
RequirementsNo external libraries are needed to build this extension. InstallationThere is no installation needed to use these functions; they are part of the PHP core.
Runtime ConfigurationThe behaviour of these functions is affected by settings in php.ini.
Here's a short explanation of the configuration directives.
Resource TypesThis extension has no resource types defined. Predefined ConstantsThe following constants are defined since PHP 5.1.1 and they offer standard date representations, which can be used along with the date format functions (like date()).
Following constants exists since PHP 5.1.2 and specify a format returned by functions date_sunrise() and date_sunset(). Table of Contents
|
PHP-Index
New Tutorial entries
|






