Edit

Share via


DateObject Interface

Definition

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

public interface class DateObject : Microsoft::Office::Interop::InfoPath::SemiTrust::Date
[System.Runtime.InteropServices.Guid("096cd6a3-0786-11d1-95fa-0080c78ee3bb")]
public interface DateObject : Microsoft.Office.Interop.InfoPath.SemiTrust.Date
type DateObject = interface
    interface Date
Public Interface DateObject
Implements Date
Attributes
Implements

Remarks

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.

Methods

Now()

Gets the current system date and time in ISO format (YYYY-MM-DDThh:mm:ss).

(Inherited from Date)
Today()

Gets the current system date in ISO format (YYYY-MM-DD).

(Inherited from Date)

Applies to