DateTimeElement.FormatDate(DateTime) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.