Main Content

getTargetTimezone

Get target computer time zone information

Since R2025a

Description

targetTimeZone = getTargetTimezone(target_object) returns the target computer time zone.

example

Examples

collapse all

Get the target computer time zone information.

targetTimeZone = getTargetTimezone(tg)
targetTimeZone =
                'America/New_York'

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Output Arguments

collapse all

Target computer time zone, returned as a character vector.

Version History

Introduced in R2025a