Two system work item properties are accessible for generated work item viewers to display the current system date or time:
sys.datetime - represents the current time in the system format
sys.time.millis - represents the current time in milliseconds
Note: Both of these properties may be accessed in work item types, viewers, BICs and DPA. To include the sys.datetime in a generated work item viewer, follow the instructions below:
Create a work item type named sys. For details on how to create work item types, see Creating Work Item Types.
Add a metadata row named datetime with Datetime as your data type. Type a descriptive text in the Label box, for example, Current Date and then select Text Field as the HTML Input Type. Save the metadata field to the table. For details on how to add a metadata row, refer to Adding Metadata.
Create a new process flow.
Add the sys work item type to the Work Item Types tab of the process editor.
On the process editor Viewers tab, add a new work item viewer. Right-click the fields table and add the Datetime field of the sys work item type. Generate the viewer file. Refer to Adding Work Item Viewers for more details.
Click OK to save the process flow.