DateOnly.ToShortDateString 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.
Converts the value of the current DateOnly object to its equivalent short date string representation.
public:
System::String ^ ToShortDateString();
C#
public string ToShortDateString();
member this.ToShortDateString : unit -> string
Public Function ToShortDateString () As String
A string that contains the short date string representation of the current DateOnly object.
Produto | Versións |
---|---|
.NET | 6, 7, 8, 9, 10 |
Colaborar con nós en GitHub
A orixe deste contido pódese atopar en GitHub, onde tamén podes crear e revisar problemas e extraer solicitudes. Para obter máis información, consulta a guía para colaboradores.
Comentarios de .NET
.NET é un proxecto de código aberto. Selecciona unha ligazón para ofrecer comentarios: