Administration > Date Format Administration
  
Date Format Administration
You can change the date format in PTC FlexPLM from the standard MM/DD/YYYY format to an alternative format by creating custom entries in resource files.
The relevant resource file that is customized is the src/com/lcs/wc/resource/DateTimeFormatRB.rbInfo file. Any changes you make go into the wtCustom/com/lcs/wc/resource/DateTimeFormatRB.rbInfo file.
When changing the date format, several resource entries must be changed; otherwise, you risk data corruption issues. The values of the following entries must match, in terms of date format.
* 
The following are the out-of-the-box English values. Localized values might be different.
EXPLORER_STANDARD_DATE_FORMAT.value=MM/dd/yyyy h:mm a z
EXPLORER_STANDARD_DATE_ONLY_FORMAT.value=MM/dd/yyyy
EXPLORER_STANDARD_TIME_ONLY_FORMAT.value=h:mm a z
jsCalendarFormat.value=%m/%d/%Y
jsCalendarInputFormat.value=MM/DD/YYYY
The system uses the EXPLORER_STANDARD entries both to parse and display the date. Refer to the SimpleDateFormat Javadoc for additional characters.
Date Entry
Character
Month
MM
Day
dd
Year
yyyy
Hour
h
Minute
mm
AM/PM
a
Time zone
z
The calendar widget uses jsCalendarFormat entry to validate dates manually entered by the user. This entry uses standard UNIX date formatting characters.
Date Entry
UNIX Formatting Character
Day of the month
%d
Month number
%m
Three-letter month abbreviation
%b
Full month name
%B
Year
%Y
The jsCalendarInputFormat entry controls what format the user sees when prompted to enter the date in a date field. Additionally, the following entry controls the format of the date in the PTC FlexPLM header. Because it only controls the header date display, it does not need to match the other date entries.
jsCalendarLongFormat.value=%A, %B %d, %Y %a:%M:%s %p