1. Operations
2. appliance
3. system
4. time

## appliance system time: get

Get system time.

### Request:

#### HTTP request

GET https://{server}/rest/appliance/system/time
No request parameters

### Response:

#### HTTP Status Code: 200

#### Representations:

- JSON
- XML

{
"value": {
"date": "string",
"seconds_since_epoch": 1.5,
"time": "string",
"timezone": "string"
}
}
<?xml version="1.0" ?>
<ns0:Get-Result xmlns:ns0="http://vmware.com/appliance/system/time" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<value>
<timezone>string</timezone>
<time>string</time>
<seconds_since_epoch>1.5</seconds_since_epoch>
<date>string</date>
</value>
</ns0:Get-Result>

#### Response Type:

Name | Type | Description
--- | --- | ---
bold = required
value | system_time_struct | System time.
value.seconds_since_epoch | double | seconds since the epoch
value.date | string | date format: Thu 07-31-2014
value.time | string | time format: 18:18:32
value.timezone | string | timezone

#### Errors:

HTTP Status Code | Type | Description
--- | --- | ---
500 | error | Generic error