Configuring Date and Time Fields
You can configure a field to present the date and time of a specific time zone, which the users can select within a form. For example, if your server is in Germany but your users are in Australia, the server date might be difficult to understand or cumbersome to use. You can create a DateTime business object that corresponds to the time zone of the user and place it on a form. The users have the option to choose the server date and time or the local date and time.
The time zone object is FRS_Timezone.
Creating a DateTime Field that Includes the Time Zone
1. | Within the Configuration Console under Application Configuration, click Business Objects. The Common Business Objects page appears. |
2. | Select a business object. The Details page for the business object appears. |
3. | From the toolbar, select Object Fields. The Object Fields page appears. |
4. | Click Add New. A list of field types appear. |
5. | Click Date/Time. The field details page appears. |
6. | Enter values for the Property and Display Name fields. Select Hold Date, Hold Time, and Timezone. This ensures this item is recognized as a time zone object. |
You can enter other values in this page as described in Business Objects.
7. | Click Add This Field. The field now appears in the object fields list. |
8. | Click Save. The business object is now saved and must be added to a form. |
Adding a Time Zone Field to a Form
1. | Within the business object, click Forms from the toolbar. The Incident - Forms page appears. |
2. | Select the form in which to place your DateTime field. The form configuration page appears. |
3. | From the Fields list, select the DateTime field that you created. Drag and drop it onto your form. You can resize the field in the Cell Properties pane to accommodate long values. |
4. | Click Save. |
The field is now ready to use.
When the user accesses the form, they see three text fields:
- Date: The date. Select from the pop-up calendar.
- Time: The current time. Automatically entered, but can be modified.
- Timezone: The time zone. Select from the drop-down list.
Time zone list options can be set by each user, including the time zone that you have created.