DateTimeElement.FormatDate(DateTime) Method
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
- dt
- DateTime
The date time to format.
You can override this to alter the rendering of the date.