Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
+1
person also asked this
people also asked this
Replies
6 replies
Subscribers
8 subscribers
Views
3065 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi all, In the sail, for date field the default format is m/d/yyyy. But as
sivac
over 9 years ago
Hi all,
In the sail, for date field the default format is m/d/yyyy. But as per the project requirement the format should be mm/dd/yyyy.
can you please help on above
Thanks in Advance
OriginalPostID-176765
OriginalPostID-176765
Discussion posts and replies are publicly visible
0
Tim
Certified Lead Developer
over 9 years ago
Have a look in the help files here:
forum.appian.com/.../Internationalization_Settings.html
This can be set for your Appian instance but users can also set their own preferred locale format
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sivac
over 9 years ago
thanks tim. But when I choose a date from date picker let say 1/6/2015,it should display 01/06/2015 at that moment.Not in the next(readOnly) form.I am using this code but still same date
a!dateField(
label:cons!UPS_CCR_EstimatedLaunchDateLabel,
labelPosition: "ADJACENT",
value:ri!EstLaunchDate,
saveInto: a!save(ri!EstLaunchDate,if(isnull(save!value),"",
text(save!value,"mon/ddd/yyyy"))),
required:true
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
janakik
over 9 years ago
Use the below format
text(ri!EstLaunchDate,"mm/dd/yyyy")
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tim
Certified Lead Developer
over 9 years ago
The a!dateField() will display the value in a format dependent on the internationalization settings of the environment or the locale settings of the user as described in the docs. Using the text() function will not effect the display of a value at all in this type of component.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kumaraveln
over 9 years ago
@sivac : You mean to say, even if you use a!dateField(value: text(ri!EstLaunchDate,"mm/dd/yyyy")) the value is going back to the other format ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kumaraveln
over 9 years ago
Sorry I understood your question wrongly. My bad. I was thinking you want to change the default "M/d/yyyy" into something like "d/M/yyyy". or "yyyy/M/d". Please ignore it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel