How to convert above date and time function into normal date and time(2022-04-05 3:15:40 ) format and this date need to passed from web api to external system
Discussion posts and replies are publicly visible
You could convert your input date time into an Appian date time value using function fromisodatestring available in plugin:Date and Time Utilities
And then use text function convert it in your preferred time format
text(local!createdOn, "yyyy-mm-dd h:mm:ss A")
I'm getting error. How can I solve this .In this first need to convert it to "todatetime" format and then "fromisodatestring"
Can you show whats the error you are getting ?
Also, the functiton you seems to have used is toisodatestring insteaed of fromisodatestring
Assuming you are receiving the date in ISO format in your http request query parameter from,
and you want to compare it with requestCreatedOn in your appian DB, you should just do
© 2022 Appian. All rights reserved.