Edit

Share via


Date Interface

Definition

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.

public interface class Date
[System.Runtime.InteropServices.Guid("096cd6a3-0786-11d1-95fa-0080c78ee3bb")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
public interface Date
type Date = interface
Public Interface Date
Derived
Attributes

Methods

Now()

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

Today()

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

Applies to