Edit

Share via


DateTimeElement.FormatDate(DateTime) Method

Definition

Formats the date, the return is used as the Value for the cell rendering.

public virtual string FormatDate (DateTime dt);
abstract member FormatDate : DateTime -> string
override this.FormatDate : DateTime -> string

Parameters

dt
DateTime

The date time to format.

Returns

Remarks

You can override this to alter the rendering of the date.

Applies to