# Data Object - HostDateTimeInfo(vim.host.DateTimeInfo)

Property of
  HostConfigInfo, HostDateTimeSystem
Extends
  DynamicData
See also
  HostDateTimeSystemTimeZone, HostNtpConfig, HostPtpConfig
Since
  VI API 2.5

## Data Object Description

This data object represents the dateTime configuration of the host.

Properties

Name | Type | Description
--- | --- | ---
disableEvents* | xsd:boolean | When not disabled Network Time service or Precision Time service will send events to Virtual Center when service fails or recovers. Since vSphere API 7.0.3.0
disableFallback* | xsd:boolean | When not disabled, if PrecisionTimeSync is configured, then the NTP configuration can run as backup. Since vSphere API 7.0.3.0
enabled* | xsd:boolean | Present state of the time services subsystem. Since vSphere API 7.0.3.0
inFallbackState* | xsd:boolean | Tracks if NTP is providing time to ESXi due to PTP service failure. This is set only if disableFallback is set to false. Since vSphere API 7.0.3.0
lastSyncTime* | xsd:dateTime | Timestamp when time services were last in sync with remote clock. If not set, time services have never established synchronization. Since vSphere API 7.0.3.0
ntpConfig* | HostNtpConfig | The NTP configuration on the host.
ntpDuration* | xsd:string | Provides a duration in simplified, human-readable form for the lifetime of the ntp service. Since vSphere API 7.0.3.0
ntpRunTime* | xsd:long | Provides the total seconds ntpd process has been running for. Since vSphere API 7.0.3.0
ptpConfig* | HostPtpConfig | The PTP configuration on the host. Since vSphere API 7.0.3.0
ptpDuration* | xsd:string | Provides a duration in simplified, human-readable form for the lifetime of the ptp service. Since vSphere API 7.0.3.0
ptpRunTime* | xsd:long | Provides the total seconds ptpd process has been running for. Since vSphere API 7.0.3.0
remoteNtpServer* | xsd:string | Provides the NTP server that the host is synced with from the set of servers configured. Since vSphere API 7.0.3.0
serviceSync* | xsd:boolean | Report true if time is synchronized with remote time source For PrecisionTimeSync this is obtained from PTP Port Status value. For NetworkTimeProtocol this obtained from Leap Indicator value. Since vSphere API 7.0.3.0
systemClockProtocol* | xsd:string | The system clock synchronization protocol. See Protocol for possible values. Since vSphere API 7.0
timeZone | HostDateTimeSystemTimeZone | The time zone of the host.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="HostDateTimeInfo"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="timeZone" type="vsan:HostDateTimeSystemTimeZone"/> <element name="systemClockProtocol" type="xsd:string" minOccurs="0"/> <element name="ntpConfig" type="vsan:HostNtpConfig" minOccurs="0"/> <element name="ptpConfig" type="vsan:HostPtpConfig" minOccurs="0"/> <element name="enabled" type="xsd:boolean" minOccurs="0"/> <element name="disableEvents" type="xsd:boolean" minOccurs="0"/> <element name="disableFallback" type="xsd:boolean" minOccurs="0"/> <element name="inFallbackState" type="xsd:boolean" minOccurs="0"/> <element name="serviceSync" type="xsd:boolean" minOccurs="0"/> <element name="lastSyncTime" type="xsd:dateTime" minOccurs="0"/> <element name="remoteNtpServer" type="xsd:string" minOccurs="0"/> <element name="ntpRunTime" type="xsd:long" minOccurs="0"/> <element name="ptpRunTime" type="xsd:long" minOccurs="0"/> <element name="ntpDuration" type="xsd:string" minOccurs="0"/> <element name="ptpDuration" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>