Join Up!
91769 members and counting!
PHP Manual
All Mail Lists
Entire Site
downloads
|
documentation
|
faq
|
getting help
|
mailing lists
|
reporting bugs
|
php.net sites
|
links
|
my php.net
s
earch for
in the
function list
whole site
online documentation [en]
bug database
general mailing list
developer mailing list
documentation mailing list
Calendar and Event Related Extensions
Index
Function Reference
HOME
Community
Articles
Code Library
People
Mail Archive
My Account
Contribute
PHP Jobs
Calendar and Event Related Extensions
Introduction
Last updated: Thu, 26 Jun 2008
Date and Time
Introduction
Installing/Configuring
Installation
Runtime Configuration
Resource Types
Predefined Constants
List of Supported Timezones
Africa
America
Antarctica
Arctic
Asia
Atlantic
Australia
Europe
Indian
Pacific
Others
Date/Time Functions
checkdate
— Validate a Gregorian date
date_create
— Returns new DateTime object
date_date_set
— Sets the date
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_format
— Returns date formatted according to given format
date_isodate_set
— Sets the ISO date
date_modify
— Alters the timestamp
date_offset_get
— Returns the daylight saving time offset
date_parse
— Returns associative array with detailed info about given date
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
— Sets the time
date_timezone_get
— Return time zone relative to given DateTime
date_timezone_set
— Sets the time zone for the DateTime object
date
— Format a local time/date
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 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
— Returns associative array containing dst, offset and the timezone name
timezone_identifiers_list
— Returns numerically index array with all timezone identifiers
timezone_name_from_abbr
— Returns the timezone name from abbrevation
timezone_name_get
— Returns the name of the timezone
timezone_offset_get
— Returns the timezone offset from GMT
timezone_open
— Returns new DateTimeZone object
timezone_transitions_get
— Returns all transitions for the timezone
add a note
User Contributed Notes
Date and Time
There are no user contributed notes for this page.
Open Source Database Feature Comparison Matrix
Try Declarative Programming with Annotations and Aspects
Locate All Stored Procedures and Their Objects/SQL Tables
Building a Stored Procedure Generator
Making Tables Read-only in Oracle
24-hour Support
Daily Backup
Dedicated Servers
JSP/Java Servlets
PHP
MySQL
Streaming Audio/Video
Telnet/SSH
Unix Hosting
24-hour Support
Calendar and Event Related Extensions
Introduction
Last updated: Thu, 26 Jun 2008
show source
|
credits
|
sitemap
|
contact
|
advertising
|
mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror
is operated at:
http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles
|
Tips / Quickies
|
News
|
News Linking and RSS Feeds
|
Shared Code Library
Mail Archives
|
Support / Discussion Forums
|
Get Started!
Links
|
Contribute!
|
Docs