Skip to main content
Known Participant
Jan 2, 2022 4:38 PM UTC
Question

date and time

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

5 replies

stefanhelzle0001
Brainy
Jan 2, 2022 5:16 PM UTC

Use the text() function to format the value in any way you want.

docs.appian.com/.../fnc_text_text.html

Known Participant
Jan 19, 2022 6:36 AM UTC

thanks

Participating Frequently
Jan 19, 2022 7:14 AM UTC

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/

harshitb6843
Brainy
Jan 19, 2022 7:18 AM UTC

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.