ComponentOne FlipCard for ASP.NET Web Forms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1Input Namespace / C1InputDate Class / DisplayFormat Property

In This Topic
    DisplayFormat Property
    In This Topic
    Determines the format pattern used to display the date value.
    Syntax
    'Declaration
     
    Public Property DisplayFormat As System.String
    public System.string DisplayFormat {get; set;}
    Remarks
    C1InputDate supports two types of formats: Standard Format and Custom Format. A standard date and time format string uses a single format specifier to define the text representation of a date and time value. Possible values for Standard Format are: "d": ShortDatePattern "D": LongDatePattern "f": Full date and time (long date and short time) "F": FullDateTimePattern "g": General (short date and short time) "G": General (short date and long time) "m": MonthDayPattern "M": monthDayPattern "r": RFC1123Pattern "R": RFC1123Pattern "s": SortableDateTimePattern "t": shortTimePattern "T": LongTimePattern "u": UniversalSortableDateTimePattern "U": Full date and time (long date and long time) using universal time "y": YearMonthPattern "Y": yearMonthPattern Any date and time format string that contains more than one character, including white space, is interpreted as a custom date and time format string. For example: "mmm-dd-yyyy", "mmmm d, yyyy", "mm/dd/yyyy", "d-mmm-yyyy", "ddd, mmmm dd, yyyy" etc. Below are the custom date and time format specifiers: "d": The day of the month, from 1 through 31. "dd": The day of the month, from 01 through 31. "ddd": The abbreviated name of the day of the week. "dddd": The full name of the day of the week. "m": The minute, from 0 through 59. "mm": The minute, from 00 through 59. "M": The month, from 1 through 12. "MM": The month, from 01 through 12. "MMM": The abbreviated name of the month. "MMMM": The full name of the month. "y": The year, from 0 to 99. "yy": The year, from 00 to 99 "yyy": The year, with a minimum of three digits. "yyyy": The year as a four-digit number "h": The hour, using a 12-hour clock from 1 to 12. "hh": The hour, using a 12-hour clock from 01 to 12. "H": The hour, using a 24-hour clock from 0 to 23. "HH": The hour, using a 24-hour clock from 00 to 23. "s": The second, from 0 through 59. "ss": The second, from 00 through 59. "t": The first character of the AM/PM designator. "tt": The AM/PM designator.
    See Also