# GetSystemTime

> Retrieves the current time of the device.

Retrieves the current time of the device.

## Definition

**Namespace**: UiPath.MobileAutomation.API.Models

**Assembly**: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

## `GetSystemTime(MobileOptions.GetSystemTimeOptions)`

```
GetSystemTime(
	    MobileOptions. GetSystemTimeOptions options = null
)
```

`options` [MobileOptions.GetSystemTimeOptions](https://docs.uipath.com/activities/other/latest/ui-automation/uipath-mobileautomation-api-models-mobileoptions-getsystemtimeoptions) (Optional)
:   Specifies the `MobileOptions.GetSystemTimeOptions` for the
    `GetSystemTime` action. Default value is null.

## Return value

[DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-8.0)

Returns the current time of the device.
