Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Hi all
i have a requirement that user entered date time field to json format "2022-08-15 00:00:00.0" how to convert it , from appian end,
i tried text function - text(now(),"yyyy-mm-dd HH:MM:SS") but it returns current date time it should be user entered.
Thanks In Advance
Discussion posts and replies are publicly visible
Can you provide a code snippet of what you a re currently working on?
Check these examples for how to store a user entered value in a different format: https://docs.appian.com/suite/help/22.3/fnc_evaluation_save.html#examples
The simple answer here is that when you call the text() function, you wouldn't pass in "now()" as in your example if you're wanting to convert a user-entered datetime value to that format - you would need to actually pass the user-entered value itself.