Open topic with navigation

TIBCO iProcess® Engine 11.9.1

# Changing the Date Format Using the staffpms File

Line 5 of the `staffpms` file determines how the date is displayed in iProcess Engine. (The following example is for an iProcess Engine for Windows).

    %2d/%2d/%4d\/\%s%s %s, %s\dmy\wdmy\%2d:%2d\:\ AM\ PM\Week\NYYYYYN

Individual entries are separated by a backslash character (\). The following table describes the meaning of each entry.

The Meaning of Each Entry for Changing the Date Format Using the staffpms File

Position | Example | Description
1 | `%2d/%2d/%4d` | The number of characters used to specify each component of the date. For example, 2 characters to denote the date, 2 for the month and 4 for the year.
2 | `/` | The date delimiter.
3 | `%s%s %s, %s` | Not used.
4 | `dmy` | The order of the date format.
5 | `wdmy` | Not used.
6 | `%2d:%2d` | The time format. The default is 24-hour format, for example, `15:12`.
7 | `:` | The time delimiter.
8 | `AM` | Not used.
9 | `PM` | Not used.
10 | `Week` | Not used.
11 | `NYYYYYN` | The definition of the working week, running Sunday to Saturday. Y indicates a working day, N a non-working day. For example, Monday to Friday. For more information, see Specifying the Working Week.

## Changing the Order of the Date Format

To change the format, for example, to `yyyy/mm/dd`:

| 1. | Amend the date order entry (position 4) to be `ymd`.

| 2. | Amend the number of characters entry (position 1) to be `%4d/%2d/%2d`.

    %4d/%2d/%2d\/\%s%s %s, %s\ymd\wdmy\%2d:%2d\:\ AM\ PM\Week\NYYYYYN

## Changing the Date Delimiter

To change the date delimiter, for example to a hyphen character, amend the number of characters (position 1) and date delimiter (position 2) entries as shown.

    %2d-%2d-%4d\-\%s%s %s, %s\dmy\wdmy\%2d:%2d\:\ AM\ PM\Week\NYYYYYN

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO iProcess® Engine

Copyright © 1994-2024. Cloud Software Group, Inc. All Rights Reserved.