Share

AcDbDatabase::getTimeZoneInfo

C++

Acad::ErrorStatus getTimeZoneInfo(
    AcDb::TimeZone tz, 
    double& offset, 
    AcString& desc
) const;

Description

Retrieves time zone information associated with the time zone passed in.

Returns Acad::eOk if a valid time zone is passed in.

Parameters

Parameters Description
tz Input time zone defined in the AcDb::TimeZone enumeration. Information about this time zone is retreived and returned in the other two parameters.
offset Output time offset of this time zone, in hours, from UTC (GMT), is returned in this argument. For example, the offset for Pacific time is -8.0.
desc Output textual description of the time zone passed in is returned in this argument

Links

AcDbDatabase Class

Was this information helpful?