Extensions for working with input and output date cultures.
- Namespace
- Statiq
.Common - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["DateTimeCultureExtensions"]
class Type type-node
Syntax
public static class DateTimeCultureExtensions
Methods
Name | Return Value | Summary |
---|---|---|
Get |
CultureInfo |
Gets the
CultureInfo for the date display culture.
static
|
Get |
CultureInfo |
Gets the
CultureInfo for the date input culture.
static
|
ToLongDateString |
string |
Gets a long date display string using the date display culture setting.
static
|
ToShortDateString |
string |
Gets a short date display string using the date display culture setting.
static
|
Try |
bool |
Attempts to parse an input date using the input date culture setting.
static
|