Calendar.DayOfWeekAsString Method
Definition
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.
Overloads
DayOfWeekAsString() |
Returns a string representation of the day of the week suitable for inclusion with other date components. |
DayOfWeekAsString(Int32) |
Returns a string representation of the day of the week suitable for inclusion with other date components. |
DayOfWeekAsString()
Returns a string representation of the day of the week suitable for inclusion with other date components.
public:
virtual Platform::String ^ DayOfWeekAsString() = DayOfWeekAsString;
/// [Windows.Foundation.Metadata.Overload("DayOfWeekAsFullString")]
winrt::hstring DayOfWeekAsString();
[Windows.Foundation.Metadata.Overload("DayOfWeekAsFullString")]
public string DayOfWeekAsString();
function dayOfWeekAsString()
Public Function DayOfWeekAsString () As String
Returns
A string representation of the day of the week, using the most common abbreviation available.
- Attributes
See also
- DayOfWeekAsString(Int32)
- Calendar, date, and time controls
- Calendar sample
- Date and time formatting sample
Applies to
DayOfWeekAsString(Int32)
Returns a string representation of the day of the week suitable for inclusion with other date components.
public:
virtual Platform::String ^ DayOfWeekAsString(int idealLength) = DayOfWeekAsString;
/// [Windows.Foundation.Metadata.Overload("DayOfWeekAsString")]
winrt::hstring DayOfWeekAsString(int const& idealLength);
[Windows.Foundation.Metadata.Overload("DayOfWeekAsString")]
public string DayOfWeekAsString(int idealLength);
function dayOfWeekAsString(idealLength)
Public Function DayOfWeekAsString (idealLength As Integer) As String
Parameters
- idealLength
-
Int32
int
A positive integer specifying the ideal length, in characters, for the returned string, or 0 specifying the most common abbreviation available.
Returns
A string representation of the day of the week.
- Attributes
See also
- DayOfWeekAsString()
- Calendar, date, and time controls
- Calendar sample
- Date and time formatting sample