PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

DateTimeZone::__construct> <DateTime::__wakeup
Last updated: Fri, 30 Jan 2009

view this page in

The DateTimeZone class

소개

Representation of time zone.

클래스 개요

DateTimeZone
DateTimeZone {
/* Constants */
const integer DateTimeZone::AFRICA =1 ;
const integer DateTimeZone::AMERICA =2 ;
const integer DateTimeZone::ANTARCTICA =4 ;
const integer DateTimeZone::ARCTIC =8 ;
const integer DateTimeZone::ASIA =16 ;
const integer DateTimeZone::ATLANTIC =32 ;
const integer DateTimeZone::AUSTRALIA =64 ;
const integer DateTimeZone::EUROPE =128 ;
const integer DateTimeZone::INDIAN =256 ;
const integer DateTimeZone::PACIFIC =512 ;
const integer DateTimeZone::UTC =1024 ;
const integer DateTimeZone::ALL =2047 ;
const integer DateTimeZone::ALL_WITH_BC =4095 ;
const integer DateTimeZone::PER_COUNTRY =4096 ;
/* Methods */
__construct ( string $timezone )
public array getLocation ( void )
public string getName ( void )
int getOffset ( DateTime $datetime )
array getTransitions ([ int $timestamp_begin [, int $timestamp_end ]] )
array listAbbreviations ( void )
array listIdentifiers ([ int $what=DateTime::ALL [, string $country=NULL ]] )
}

예약 상수

DateTimeZone Node Types

DateTimeZone::AFRICA

Africa time zones.

DateTimeZone::AMERICA

America time zones.

DateTimeZone::ANTARCTICA

Antarctica time zones.

DateTimeZone::ARCTIC

Artic time zones.

DateTimeZone::ASIA

Asia time zones.

DateTimeZone::ATLANTIC

Atlantic time zones.

DateTimeZone::AUSTRALIA

Australia time zones.

DateTimeZone::EUROPE

Europe time zones.

DateTimeZone::INDIAN

Indian time zones.

DateTimeZone::PACIFIC

Pacific time zones.

DateTimeZone::UTC

UTC time zones.

DateTimeZone::ALL

All time zones.

DateTimeZone::ALL_WITH_BC

All time zones including backwards compatible.

DateTimeZone::PER_COUNTRY

Time zones per country.

Table of Contents



add a note add a note User Contributed Notes
DateTimeZone
There are no user contributed notes for this page.

DateTimeZone::__construct> <DateTime::__wakeup
Last updated: Fri, 30 Jan 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites