Share

AcDbDatabase::setTimeZoneAsUtcOffset

C++

Acad::ErrorStatus setTimeZoneAsUtcOffset(
    double offset
);

Description

Sets the time zone for this drawing using a time-based value, as opposed to the AcDb::TimeZone enum. Time zone is best set through the Geographic Location dialog.

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

Parameters

Parameters Description
offset Input time offset of the time zone you want to make current, in hours, from UTC (GMT). For example, the offset for Pacific time is -8.0. The valid range of values is -12.0 to 13.0, though the offset time must match a known time zone.

Links

AcDbDatabase Class

Was this information helpful?