DateFormat Property

Specifies the format for Date and DateTime values displayed in a cell.

Syntax

Public Property DateFormat As DateFormat

Applies To

Grid Object

Data Type

Enumerated

The following settings are available:

Constant Value Description
YMD 0(Default) YYYY-MM-DD.
MDY 1 MM-DD-YYYY.
DMY 2 DD-MM-YYYY.