Ler en inglés Editar

Compartir por


DateOnly.ToShortDateString Method

Definition

Converts the value of the current DateOnly object to its equivalent short date string representation.

C#
public string ToShortDateString();

Returns

A string that contains the short date string representation of the current DateOnly object.

Applies to

Produto Versións
.NET 6, 7, 8, 9, 10