Skip to main content
Version: OpCon

Setting Preferences for Date Formats

Configure the Date and Time formats to control the way the EM displays dates and times throughout the program.

To set the preferences:

  1. Launch the Enterprise Manager application.
  2. Use menu path: EnterpriseManager > Preferences. The Preferences dialog displays.
  3. Click on the arrow (Expand Arrow     ) next to Enterprise Manager in the Preferences tree to expand the drop-down list.
  4. Click on Date Formats. The Date Formats settings display to the right.
  5. (Optional) Click inside the Full date format text box to modify the layout to include the date and time. The default is M/d/yy h:mm a.
  6. (Optional) Click inside the Long date format text box to modify the layout to include the date only. The default is MMMM d, yyyy.
  7. (Optional) Click inside the Short date format text box to modify the layout to include a numeric short date only. The default is M/d/yy.
  8. (Optional) Click inside the Long time format text box to modify the layout to include hours, minutes, and seconds. The default is h:mm:ss a.
  9. (Optional) Click inside the Short time format text box to modify the layout to include hours and minutes. The default is h:mm a.
  10. (Optional) Click on the Restore Defaults button to restore the original date formats.
  11. Click Apply button to apply the changed date formats.
  12. Click OK to save the changes and close the Preferences dialog.
  13. Close ☒ the Enterprise Manager.
  14. Restart to load the new formats.

The format letters and examples below refer to this Long Date example: Monday, August 8, 2011

The example date would be created in the EM with the following string for the Long Date Format: EEEE, MMMM d, yyyy

LetterDate or Time ComponentPresentationResults/Examples
yyyyYearYear2011
MMonthMonth number8 (does not include the leading zero)
MMMonthMonth number08 (does include the leading zero)
MMMMonthMonth textAug (abbreviates the month name)
MMMMMonthMonth textAugust (includes the full the month name)
dDay in MonthDay Number8 (does not include the leading zero)
ddDay in MonthDay Number08 (does include the leading zero)
EDay in weekDay TextWed (abbreviates the day name)
EEEEDay in weekDay TextWednesday (includes the full day name)
aAM/PM markerAM or PM textAM/PM
HHour in Day (0-23)24-hour clock number16:00
hHour in Day (1-12)Hour in AM/PM4:00
mmMinute in hourNumber30
sSecond in minuteNumber55