DateTimeFormat Class Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Handles date time string conversion properties.
Inheritance Hierarchy

SystemObject
  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

[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public class DateTimeFormat

The DateTimeFormat type exposes the following members.

Constructors

  NameDescription
Public methodDateTimeFormat
Initializes a new instance of the DateTimeFormat class
Top
Properties

  NameDescription
Public propertyCulture
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.
Public propertyFormatPattern
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.
Top
Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Overrides ObjectToString.)
Top
See Also

Reference