Читати англійською Редагувати

Поділитися через


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

Продукт Версії
.NET 6, 7, 8, 9, 10