Click or drag to resize

ITimeZones Interface

ITimeZones Interface to the TimeZone manager

Namespace:  SuperOffice.COM.Application
Assembly:  SOCRM.Interop (in SOCRM.Interop.dll) Version: 8.0.0.0
Syntax
public interface ITimeZones

The ITimeZones type exposes the following members.

Properties
  NameDescription
Public propertyDiaryTimeZoneLocationId
Returns the current Diary TimeZoneLocationId. If there is no Application running this will default to the time-zone location id of the database.
Public propertyPreferedTimeZoneLocationId
Returns the prefered time-zone location id for the logged-in user.
Top
Methods
  NameDescription
Public methodConvertBase2DiaryDate
Converts a data base date to the current Diary time-zone. The data base time-zone is implicit. If this is called from a SuperOffice.Database object instead of a running SuperOffice.Application object, this will have no effect
Public methodConvertBase2DisplayDate
Converts a data base date to a display date relative to a given time-zone location. The data base time-zone is implicit.
Public methodConvertBase2LocalDate
Converts a data base date to a local pc date. The data base time-zone is implicit.
Public methodConvertBase2UTCDate
Converts a data base date to a UTC (GMT) date. The data base time-zone is implicit.
Public methodConvertDisplay2BaseDate
Converts a display date relative to a given time-zone location to a data base date. The data base time-zone is implicit.
Public methodConvertLocal2BaseDate
Converts a local pc date location to a data base date. The data base time-zone is implicit.
Public methodConvertUTC2BaseDate
Converts a UTC (GMT) date to a data base date. The data base time-zone is implicit.
Public methodGetTimeZoneItemByCode
Returns a TimeZone item by key for a given date. The key is a string whose first 2 character normally correspond to a country's abbrev2 field.
Public methodGetTimeZoneItemById
Returns a TimeZone item by time-zone location id for a given date.
Public methodGetTimeZoneItems
Get collection of available TimeZone items for a given date.
Top
See Also