DateObject interface

Office 2013 and later

Provides several date-related methods that can be used in Microsoft InfoPath forms.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

<GuidAttribute("096cd6a3-0786-11d1-95fa-0080c78ee3bb")> _
Public Interface DateObject _
	Inherits Date
Dim instance As DateObject

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, seeDate.

Use the Date property of the UtilObject object to return a Date object.