Edytuj

Udostępnij za pośrednictwem


DateObject Interface

Definition

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

public interface class DateObject : Microsoft::Office::Interop::InfoPath::Date
[System.Runtime.InteropServices.Guid("096CD6A3-0786-11D1-95FA-0080C78EE3BB")]
public interface DateObject : Microsoft.Office.Interop.InfoPath.Date
type DateObject = interface
    interface Date
Public Interface DateObject
Implements Date
Derived
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