Share via


Date Members

Include Protected Members
Include Inherited Members

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeDateObject.

The Date type exposes the following members.

Methods

  Name Description
Public method Now Gets the current system date and time in ISO format (YYYY-MM-DDThh:mm:ss).
Public method Today Gets the current system date in ISO format (YYYY-MM-DD).

Top

See Also

Reference

Date Interface

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace