[]
Returns the culture-specific full name of the specified day of the week based on the current UI culture.
public static string GetDayOfWeekName(DayOfWeek day)
Public Shared Function GetDayOfWeekName(day As DayOfWeek) As String
| Type | Name | Description |
|---|---|---|
| DayOfWeek | day | The DayOfWeek value. |
| Type | Description |
|---|---|
| string | The culture-specific full name of the day of the week represented by dayofweek. |
Returns the culture-specific full name of the specified day of the week based on the specified culture.
public static string GetDayOfWeekName(DayOfWeek day, CultureInfo culture)
Public Shared Function GetDayOfWeekName(day As DayOfWeek, culture As CultureInfo) As String
| Type | Name | Description |
|---|---|---|
| DayOfWeek | day | The DayOfWeek value. |
| CultureInfo | culture | The CultureInfo object. |
| Type | Description |
|---|---|
| string | The culture-specific full name of the day of the week represented by dayofweek. |