Content Studio Web Content Management System
SystemObject
ContentStudio.Site.ControlsDateTimeFormat
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
Top
Top
Top
[This is preliminary documentation and is subject to change.]
Handles date time string conversion properties.
Inheritance Hierarchy
ContentStudio.Site.ControlsDateTimeFormat
Namespace: ContentStudio.Site.Controls
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
The DateTimeFormat type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DateTimeFormat | Initializes a new instance of the DateTimeFormat class |
Properties
Name | Description | |
---|---|---|
Culture |
Gets or sets the culture. The name of the culture to use when sorting the list. If no culture is specified the culture of the system is used. The culture must be one of the names specified by the .NET CultureInfo class, for example \"en-us\" or \"sv\". Specifying a culture can be very valuable when making a web site that is ment for several cultures since different cultures uses different date format.
| |
FormatPattern | A DateTime format string.
A custom date/time format to use. This format should comply with the .NET System.Globalization.DateTimeFormatInfo class specification. Ex. system aware formats like \"D\" (long date) \"d\" (short date) \"G\" (General long date/time) \"g\" (general short date/time) and exact formats like \"yyyy-MM-dd HH:mm:ss\" which is the standard swedish date/time format.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Overrides ObjectToString.) |
See Also