Date members

Office 2013 and later

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.

  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).