Calendar.YearAsString Method

Definition

Returns a string representation of the year without any initial zero padding.

public:
 virtual Platform::String ^ YearAsString() = YearAsString;
winrt::hstring YearAsString();
public string YearAsString();
function yearAsString()
Public Function YearAsString () As String

Returns

String

Platform::String

winrt::hstring

A string representation of the year.

Applies to

See also