XVIII. Date and Time functions

Introduction

You can use this functions to handle date and time . This functions allow you to get date and time from the server where PHP is running on . You can use this functions to format the output of date and time in many different ways .

הערה : Please keep in mind that this functions are depending on the locale settings of your server . Especially consider daylight saving time settings and leap years .

Requirements

These functions are available as part of the standard module , which is always available .

Installation

There is no installation needed to use these functions , they are part of the PHP core .

Runtime Configuration

This extension does not define any configuration directives .

Resource Types

This extension does not define any resource types .

Predefined Constants

This extension does not define any constants .

תוכן העניינים:
checkdate -- Validate a gregorian date/time
date -- Format a local time/date
getdate -- Get date/time information
gettimeofday -- Get current time
gmdate -- Format a GMT/CUT date/time
gmmktime -- Get UNIX timestamp for a GMT date
gmstrftime -- Format a GMT/CUT time/date according to locale settings
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
strtotime -- Parse about any English textual datetime description into a UNIX timestamp
time -- Return current UNIX timestamp