Main Content

getTargetTime

Get target computer date and time

Since R2025a

Description

targetTime = getTargetTime(target_object) returns the target computer date and time.

example

Examples

collapse all

Get the target computer date and time information.

targetTime = getTargetTime(tg)
targetTime =

    'Mon Sep 23 00:02:56 GMT 2024'

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Output Arguments

collapse all

Target computer date and time, returned as a character vector.

Version History

Introduced in R2025a