# Managed Object - HostDateTimeSystem

Property of
  HostConfigManager
See also
  HostDateTimeConfig, HostDateTimeInfo, HostDateTimeSystemServiceTestResult, HostDateTimeSystemTimeZone
Since
  VI API 2.5

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
dateTimeInfo P | HostDateTimeInfo |

P Required privilege: System.Read

Methods

Methods defined in this Managed Object
QueryAvailableTimeZones, QueryDateTime, RefreshDateTimeSystem, TestTimeService, UpdateDateTime, UpdateDateTimeConfig

# QueryAvailableTimeZones

Required Privileges
  System.Read

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostDateTimeSystem used to make the method call.

Return Value

Type | Description
--- | ---
HostDateTimeSystemTimeZone[] |

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# QueryDateTime

Required Privileges
  System.Read

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostDateTimeSystem used to make the method call.

Return Value

Type | Description
--- | ---
xsd:dateTime |

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# RefreshDateTimeSystem

Required Privileges
  Host.Config.DateTime

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostDateTimeSystem used to make the method call.

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# TestTimeService

Required Privileges
  Host.Config.DateTime
Since
  vSphere API 7.0.3.0

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostDateTimeSystem used to make the method call.

Return Value

Type | Description
--- | ---
HostDateTimeSystemServiceTestResult |

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# UpdateDateTime

Required Privileges
  Host.Config.DateTime

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostDateTimeSystem used to make the method call.
dateTime P | xsd:dateTime | Since VI API 2.5

P Required privilege: dateTime

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
HostConfigFault |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# UpdateDateTimeConfig

Required Privileges
  Host.Config.DateTime

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostDateTimeSystem used to make the method call.
config P | HostDateTimeConfig | Since VI API 2.5

P Required privilege: config

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
HostConfigFault |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None