# Data Object - HostDateTimeConfig(vim.host.DateTimeConfig)

Property of
  ClusterComputeResourceHostConfigurationProfile, HostConfigSpec
Parameter to
  UpdateDateTimeConfig
Extends
  DynamicData
See also
  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 Network Time service or Precision Time service are enabled any detecteced failures will result in Events being sent to Virtual Center. Use this setting to disable Time Events. Since vSphere API 7.0.3.0
disableFallback* | xsd:boolean | When in PrecisionTimeSync, NTP configuration as set will be running as backup. Use this setting to prevent NTP from becoming the primary time protocol in the event of a PTP service failure. Since vSphere API 7.0.3.0
enabled* | xsd:boolean | Bring Time services subsystem up or down. Since vSphere API 7.0.3.0
ntpConfig* | HostNtpConfig | The NTP configuration on the host.
protocol* | xsd:string | Specify which network time configuration to discipline vmkernel clock. See HostDateTimeInfoProtocol for supported values. Since vSphere API 7.0.3.0
ptpConfig* | HostPtpConfig | The PTP configuration on the host. Since vSphere API 7.0.3.0
resetToFactoryDefaults* | xsd:boolean | When this property is present and set true the existing configuration for Time Services will be reset to factory default. The protocol property when set defines the scope of what is reset. If additional configuration beyond protocol is provided host will first perform factory reset followed by applying any configuration present. Since vSphere API 7.0.3.0
timeZone* | xsd:string | The time zone of the host. Must be one of the values of key
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="HostDateTimeConfig"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="timeZone" type="xsd:string" minOccurs="0"/> <element name="ntpConfig" type="vsan:HostNtpConfig" minOccurs="0"/> <element name="ptpConfig" type="vsan:HostPtpConfig" minOccurs="0"/> <element name="protocol" type="xsd:string" 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="resetToFactoryDefaults" type="xsd:boolean" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>