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")]
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