Share via


DateTimeFormatter.Calendar Property

Definition

Gets the calendar that is used when formatting dates.

public:
 property Platform::String ^ Calendar { Platform::String ^ get(); };
winrt::hstring Calendar();
public string Calendar { get; }
var string = dateTimeFormatter.calendar;
Public ReadOnly Property Calendar As String

Property Value

String

Platform::String

winrt::hstring

The calendar that is used.

Applies to