[]
Gets the current date time format.
public static DateTimeFormatInfo GetCurrentDateTimeFormat()
Public Shared Function GetCurrentDateTimeFormat() As DateTimeFormatInfo
| Type | Description |
|---|---|
| DateTimeFormatInfo |
Gets the current date time format based on the specified element Language property value.
public static DateTimeFormatInfo GetCurrentDateTimeFormat(FrameworkElement element)
Public Shared Function GetCurrentDateTimeFormat(element As FrameworkElement) As DateTimeFormatInfo
| Type | Name | Description |
|---|---|---|
| FrameworkElement | element |
| Type | Description |
|---|---|
| DateTimeFormatInfo |