Click or drag to resize

ITimeZones Interface

ITimeZones Interface to the TimeZone manager

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

The ITimeZones type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleDiaryTimeZoneLocationId
Returns the current Diary TimeZoneLocationId. If there is no Application running this will default to the time-zone location id of the database.
Public propertyCode examplePreferedTimeZoneLocationId
Returns the prefered time-zone location id for the logged-in user.
Top
Methods
  NameDescription
Public methodCode exampleConvertBase2DiaryDate
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 methodCode exampleConvertBase2DisplayDate
Converts a data base date to a display date relative to a given time-zone location. The data base time-zone is implicit.
Public methodCode exampleConvertBase2LocalDate
Converts a data base date to a local pc date. The data base time-zone is implicit.
Public methodCode exampleConvertBase2UTCDate
Converts a data base date to a UTC (GMT) date. The data base time-zone is implicit.
Public methodCode exampleConvertDisplay2BaseDate
Converts a display date relative to a given time-zone location to a data base date. The data base time-zone is implicit.
Public methodCode exampleConvertLocal2BaseDate
Converts a local pc date location to a data base date. The data base time-zone is implicit.
Public methodCode exampleConvertUTC2BaseDate
Converts a UTC (GMT) date to a data base date. The data base time-zone is implicit.
Public methodCode exampleGetTimeZoneItemByCode
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 methodCode exampleGetTimeZoneItemById
Returns a TimeZone item by time-zone location id for a given date.
Public methodCode exampleGetTimeZoneItems
Get collection of available TimeZone items for a given date.
Top
See Also