You can choose the supported date formats from User Options as shown below (usually located at top right corner after login). The date formats displayed here depend on the locale(the language settings on the first tab). These are standard formats that may vary with selected locale. More on these date formats at Using Predefined Formats (The Java™ Tutorials > Internationalization > Formatting)
Hi Venkata Ramana Reddy Kanaparthy
What we are trying to achieve is; we are using ${Node_dueDate} variable in email nodes in order to show due date duration for the tasks assigned on people.
However, this information is currently provided in MM/DD/YYYY format, is there way to display this info in DD/MM/YYYY format?
Hi.. The format for the date variables in workflow seem to depend on the locale that the application server is picking up. It seem to depend on the host machine. There should be a way to change the locale that the application server picks up be default. You can search for your specific app server. Relevant page.. java - how do I set the default locale for my JVM? - Stack Overflow
Hi Venkata,
I do have a same issue like this.We have RSA VIA running on har appliance We have end users acccessing the same server from different locations like US,UK.We have a form with date field when user from US trying to submit the request date value is passed in MM/DD/YY format when the users from london location is trying to submit the same request the date value is passed in DD/MM/YY format.
Also the date format displayed on the top right hand corner for US based users is in MM/DD/YY format whereas for the UK based user is of DD/MM/YY format .
Any idea how we can resolve this ?
Regards,
Sabthami Subramanian
The date format shown in the UI depends on language settings Options > Language. If that is set to Browser Language, then you make sure you set the correct language/locale from the browser.
As for the workflow dates, as Ramana mentioned it is controlled by the application server locale. Below are the steps I used to change the locale settings on Wildfly for v7.0.0:
1. Edit the following file:
/home/oracle/wildfly/bin/standalone.conf
2. Add the below line to the very bottom of the file:
JAVA_OPTS="$JAVA_OPTS -Duser.country=GB -Duser.language=en"
3. Restart acm:
acm restart
4. Now you can verify the java options are updated by running the below command (this should show you the running wildfly process):
ps -ef | grep -Duser
5. Now test out any workflow with ${Node_dueDate}, you will notice the date format is now DD/MM/YY.
Hello Mostafa Helmy,
JVM conf. has been set as suggested. Server is restarted.
We can see conf.s are applied on server side
However, display format did not changed. Any idea?
Hi Ece YILDIRIM,
Yes the dates shown in the browser UI are controlled by the language you set in the UI settings (not the application server). Since you have set the language the English, by default, English in our settings corresponds to English US (en-US). So in your case, change this to Browser Language and make sure the browser language settings is any language that displays dates in your required format (for example: en-GB, tr ... etc).
The date format shown in the UI depends on language settings Options > Language. If that is set to Browser Language, then you make sure you set the correct language/locale from the browser.
As for the workflow dates, as Ramana mentioned it is controlled by the application server locale. Below are the steps I used to change the locale settings on Wildfly for v7.0.0:
1. Edit the following file:
/home/oracle/wildfly/bin/standalone.conf
2. Add the below line to the very bottom of the file:
JAVA_OPTS="$JAVA_OPTS -Duser.country=GB -Duser.language=en"
3. Restart acm:
acm restart
4. Now you can verify the java options are updated by running the below command (this should show you the running wildfly process):
ps -ef | grep -Duser
5. Now test out any workflow with ${Node_dueDate}, you will notice the date format is now DD/MM/YY.