I am try display only the date and time without the timezone like this 02/01/2022 10.22pm
but it coming like this
can anyone help to resolve this
Discussion posts and replies are publicly visible
Use the text() function to format the value in any way you want.
docs.appian.com/.../fnc_text_text.html
thanks
And don't forget to display in a a!textField when using text() function. I tried to do that in a!dateTimeField component in UI, and totally messed up the date. Turned out I had to use a!textField instead/
Not just textField, you can use any field that supports free text. i.e. text field, paragraph field, rich text component, rich text display field etc.
You can finde out be checking for the display value:text() returen text The text() function allows you to format Number, Date, Time, or Date and time values as you convert them into text strings.check "returns" as well.https://docs.appian.com/suite/help/21.4/fnc_text_text.html
for the text component you need a displey value of type text.
Display Value
value
Text
Text to display in the text field.
https://docs.appian.com/suite/help/21.4/Text_Component.htmlFor datefield you nee a value of type "date"
Date
Date to display in the field.
a!dateField()