Share via


Date.ToString Method

Definition

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".

Applies to