Customizing the Date and Time Format
Date and time formats can be set for each installation of FlexNet Manager for Engineering Applications, and the formats chosen affect how all users view date and time information. FlexNet Manager for Engineering Applications provides four formats for date and time display, configured in the FLEXnetManagerText.properties file.
Modifying the default format is considered a customization and requires running the flexnet site make command.
To customize the date and time formats:
1. | Open the file admin_install_directory/site/jetty/webapps/flexnet/WEB-INF/classes/FLEXnetManagerText.properties in a text editor. |
2. | Locate the following section: |
#
# date time style values allowed : short,medium,long,full
#
common.format.dateStyle=short
common.format.timeStyle=short
The values specified in this section (bold font in the previous snippet) for the properties dateStyle and timeStyle determine how dates and times are displayed.
3. | Depending on your preference, replace the term short in this section with medium, long, or full; or leave as it is. If you make no changes to this file, you need not follow the steps below. |
The following table describes the format that each value maps to:
Value |
Date Format |
Time Format |
short |
mm:dd:yy for example, 08:14:20 for August 14 2020 |
hh:mm am/pm for example, 3:30 pm |
medium |
Mth. dd, yyyy for example, Aug 14, 2020 |
|
long |
Month dd, yyyy for example, August 14, 2020 |
hh:mm:ss am/pm for example, 3:30:32 pm |
full |
Day_of_week, Month dd, yyyy AD for example, Friday, August 14, 2020 AD |
hh:mm:ss am/pm timezone for example, 3:30:32 pm PST |
All dates are in the order Month, Date, Year. All times are displayed using a 12-hour clock.
4. | Save the file to the following location: |
admin_install_directory/custom/jetty/webapps/flexnet/WEB-INF/classes/
FLEXnetManagerText.properties
5. | In a Command Prompt window, change to the directory admin_install_directory, and type the command: |
flexnet site make