Share via


TimeZone Property (ContainerRenderer Object)

TimeZone Property (ContainerRenderer Object)

Important The Collaboration Data Objects (CDO) 1.2.1 Rendering objects are not installed by or supported for use with Microsoft Exchange Server 2003 or later versions.

The TimeZone property returns or sets the time zone in which the calendar is to be rendered. Read/write.

Syntax

objContRend.TimeZone

Data Type

Long

Remarks

The TimeZone property is used when a CalendarView is applied to the CurrentView property of the container renderer.

The TimeZone property can have exactly one of the following values:

TimeZone setting

Decimal value

Time zone to render calendar in

Difference from GMT

CdoTmzAbuDhabi

24

The time zone that is used in the United Arab Emirates and Muscat.

+ 4:00

CdoTmzAdelaide

19

The time zone that is used in Central Australia.

+ 9:30

CdoTmzAdelaideCwG2006

54

The time zone that was used in Central Australia for the 2006 Commonwealth Games.

+ 9:30

CdoTmzAlaska

14

Alaska time zone (North America).

9:00

CdoTmzAlmaty

46

The time zone that is used in Kazakhstan.

+ 6:00

CdoTmzAmman

63

The time zone that is used in Jordan.

+ 2:00

CdoTmzArgentina

67

The time zone that is used in Argentina.

3:00

CdoTmzArizona

38

The time zone that is used in Arizona (USA).

7:00

CdoTmzAthens

7

The time zone that is used in Greece.

+ 2:00

CdoTmzAtlantic Canada

9

Atlantic time zone (North America).

4:00

CdoTmzAzores

29

The time zone that is used in the Azores.

1:00

CdoTmzBaghdad

26

The time zone that is used in Iraq.

+ 3:00

CdoTmzBaku

64

The time zone that is used in Azerbaijan.

+ 4:00

CdoTmzBangkok

22

The time zone that is used in Thailand.

+ 7:00

CdoTmzBeijing

45

The time zone that is used in the People's Republic of China.

+ 8:00

CdoTmzBerlin

4

The time zone that is used in Germany.

+ 1:00

CdoTmzBogota

35

The time zone that is used in Colombia.

5:00

CdoTmzBombay

23

The time zone hat is used in India.

+ 5:30

CdoTmzBrisbane

18

The time zone .that is used in eastern Australia.

+ 10:00

CdoTmzBuenosAires

32

Obsolete. Use CdoTmzArgentina.

3:00

CdoTmzCairo

49

The time zone that is used in Egypt.

+ 2:00

CdoTmzCanberraCwG2006

53

The time zone that was used in Central Australia for the 2006 Commonwealth Games.

+ 10:00

CdoTmzCaracas

62

The time zone that is used in Venezuela.

4:30

CdoTmzCaucasus

60

The time zone that is used in Armenia.

+ 4:00

CdoTmzCentral

11

Central time zone (North America).

6:00

CdoTmzDarwin

44

The time zone that is used in northern Australia.

+ 9:30

CdoTmzEastern

10

Eastern time zone (North America).

5:00

CdoTmzEastern Europe

5

The time zone that is used in Latvia, Lithuania, and Romania.

+ 2:00

CdoTmzEnewetak

39

The time zone that is used on Enewetak.

12:00

CdoTmzFiji

40

The time zone that is used on the Fijian Islands.

+ 12:00

CdoTmzGuam

43

The time zone that is used on Guam.

+ 10:00

CdoTmzGMT

1

Greenwich Mean Time, also called UTC (Coordinated Universal Time).

The time zone that is used in Portugal.

+ 0

CdoTmzHarare

50

The time zone that is used in Zimbabwe.

+ 2:00

CdoTmzHawaii

15

Hawaii time zone (North America).

10:00

CdoTmzHobart

42

The time zone that is used in Tasmania.

+ 10:00

CdoTmzHobartCwG2006

55

The time zone that was used in Tasmania for the 2006 Commonwealth Games.

+ 10:00

CdoTmzHongKong

21

The time zone that is used in Hong Kong SAR, PRC.

+ 8:00

CdoTmzIndiana

34

The time zone that is used in Indiana (USA).

5:00

CdoTmzIslamabad

47

Obsolete. Use CdoTmzPakistan.

+ 5:00

CdoTmzIsrael

27

The time zone that is used in Israel.

+ 2:00

CdoTmzKabul

48

The time zone that is used in Afghanistan.

+ 4:30

CdoTmzLapaz

33

The time zone that is used in Bolivia.

4:00

CdoTmzLisbon

2

The time zone that is used in Poland.

+ 1:00

CdoTmzMagadan

41

The time zone that is used in eastern Russia.

+ 11:00

CdoTmzMauritius

71

The time zone that is used in Mauritius.

+ 4:00

CdoTmzMax

73

The first unused time zone value (not a valid setting).

CdoTmzMelbourne

61

The time zone that is used in Eastern Australia.

+ 10:00

CdoTmzMexicoCity

37

The time zone that is used in central and eastern Mexico.

6:00

CdoTmzMidAtlantic

30

The time zone that is used on the mid-Atlantic islands.

2:00

CdoTmzMidway Island

16

The time zone that is used on Midway Island.

11:00

CdoTmzMontevideo

72

The time zone that is used in Uruguay.

3:00

CdoTmzMonrovia

31

The time zone that is used in Liberia.

+ 0

CdoTmzMorocco

68

The time zone that is used in Morocco.

+ 0

CdoTmzMoscow

51

The time zone that is used in western Russia.

+ 3:00

CdoTmzMountain

12

Mountain time zone (North America).

7:00

CdoTmzNewfoundlad

28

The time zone that is used in far eastern Canada.

3:30

CdoTmzOrigin

0

The time zone of the International Date Line, where each calendar day begins (not a valid setting).

+ 12:00

CdoTmzPacific

13

Pacific time zone (North America).

8:00

CdoTmzPakistan

69

The time zone that is used in Pakistan.

+ 5:00

CdoTmzParis

3

The time zone that is used in France.

+ 1:00

CdoTmzPerth

57

The time zone that is used in Western Australia.

+ 8:00

CdoTmzPrague

6

The time zone that is used in the Czech Republic.

+ 1:00

CdoTmzRiode Janeiro

8

The time zone that is used in Brazil.

3:00

CdoTmzSantiago

56

The time zone that is used in Chile.

4:00

CdoTmzSaskatchewan

36

The time zone that is used in Saskatchewan (Canada).

6:00

CdoTmzSydney2k

52

The time zone that was used in Eastern Australia for the 2006 Commonwealth Games.

+ 10:00

CdoTmzTbilisi

66

The time zone that is used in Georgia.

+ 3:00

CdoTmzTehran

25

The time zone that is used in Iran.

+ 3:30

CdoTmzTijuana

59

The time zone that is used in Tijuana.

8:00

CdoTmzTokyo

20

The time zone that is used in Japan.

+ 9:00

CdoTmzWellington

17

The time zone that is used in New Zealand.

+ 12:00

CdoTmzYerevan

65

The time zone that is used in Armenia.

+ 4:00

You can also specify whether a time zone is susceptible to summer time, also known as daylight saving time. The flag CdoTmzNoDST, which has the value &H4000 ( = 16384 decimal) indicates that the time zone that you are specifying does not change during the year. If you OR the time zone identifier with CdoTmzNoDST, the difference from GMT is always constant. If you supply the time zone identifier alone, the difference from GMT changes twice a year.

The values CdoTmzOrigin and CdoTmzMax are for comparison only and are not valid settings. An attempt to set TimeZone with a value of CdoTmzOrigin or less, or CdoTmzMax or greater, returns CdoE_INVALID_PARAMETER. The CdoTmzNoDST flag is ignored for the purpose of this validity check.

The TimeZone property can be set from the "TimeZone" option of the Session object. It defaults to the Web server's current time zone if not set. The session's options are set by its SetOption method and retrieved with its GetOption method.

The session's "TimeZone" option and the TimeZone property of the container renderer are not automatically kept in synchronization. Changing one does not cause the other to be changed. Your application is responsible for setting each of them as appropriate.

See Also

Concepts

ContainerRenderer Object