Date.ToString 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.
Convert the date to a string.
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String
Returns
The string value of the date in the format "yyyy-MM-dd".