Date Picker Options

The Date Picker style allows you to add a calendar icon to a field on a Profile screen. Users can click the icon to open a calendar that they can use to select a date. The selected date is stored in the profile attribute that is associated with the field. For example, you could add the calendar control to a Start Date field on the Profile tab for a Create Contractor task. When an administrator selects the first day of the contract, stores that date in the user's profile.
cim12607
The Date Picker style allows you to add a calendar icon to a field on a Profile screen. Users can click the icon to open a calendar that they can use to select a date. The selected date is stored in the profile attribute that is associated with the field. For example, you could add the calendar control to a Start Date field on the Profile tab for a Create Contractor task. When an administrator selects the first day of the contract,
Identity Manager
stores that date in the user's profile.
The Date Picker style has the following configuration settings:
  • Date Display Pattern (Optional)
    Determines the format of dates displayed in a field and in the Date Picker control. Specify the date display pattern using Java conventions. For example, the following Java expression is displayed as Oct 2011:
    MMM yyyy
    The Date Display Pattern field appears only when the Date Picker style is selected.
    Note the following when specifying date display patterns:
    • The date picker control supports a 
      subset
       of the Java date formats.
      The complete list of Java date formats appears in the documentation for Java™ 2 Platform Std. Ed. v1.4.2 at the Oracle website (http://java.sun.com/j2se/1.4.2/docs). Search for SimpleDateFormat.
      The following formats, which are supported in the SimpleDateFormat, are 
      not
       supported by the date picker control in 
      Identity Manager
      :
    Symbol
    Meaning
    Type
    Example
    G
    Era
    Text
    "GG" -> "AD"
    D
    Day in year (1-365 or 1-364)
    Number
    "D" -> "65"
    "D" ->"065"
    W
    Week in month (1-5)
    Number
    "W" -> "3"
    k
    Hour (1-24)
    Number
    "k" -> "3"
    "kk" ->"03"
    K
    Hour (0-11 AM/PM)
    Number
    "K" -> "15"
    "KK"->"15"
    S
    Millisecond (0-999)
    Number
    "SSS" -> "007"
     
    • We do not recommend specifying a date display pattern if the Environment supports multiple locales. If a display pattern is not specified, the date is displayed in a format appropriate for the locale of the user.
     
  • Date Storage Pattern
    Determines how the date is stored in the user store. Specify the date pattern using Java conventions. (See the description of the Date Display Pattern for more information.)
  • Tip Text
    Specifies text that appears next to the date picker on the profile screen.
    You can use this field to provide additional information about the date picker control.
  • Show Time Picker
    Allows users to specify time in addition to the date when using a calendar control on a Profile screen. The time is stored in the user store.
  • Hide Seconds
    Hides the seconds display in the time picker control.
The Date Storage Pattern, Show Time Picker, and Time Picker Format fields appear only when the attribute that you selected does not have the Date, ISODate, or UnicenterDate value type in the directory configuration file (directory.xml). For more information about value types, see the
Configuration Guide
.