Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
DayOfWeek Enum
Definition
- Namespace:
- Windows.Globalization
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.
Identifies the day of the week.
public enum class DayOfWeek
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class DayOfWeek
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum DayOfWeek
var value = Windows.Globalization.DayOfWeek.sunday
Public Enum DayOfWeek
- Inheritance
-
DayOfWeek
- Attributes
Windows requirements
| Requirements | Description |
|---|---|
| Device family |
Windows 10 (introduced in 10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
| Name | Value | Description |
|---|---|---|
| Sunday | 0 | Sunday |
| Monday | 1 | Monday |
| Tuesday | 2 | Tuesday |
| Wednesday | 3 | Wednesday |
| Thursday | 4 | Thursday |
| Friday | 5 | Friday |
| Saturday | 6 | Saturday |
Applies to
Feedback
Was this page helpful?
