convert string to datetime
Hi Team,
I have a property of type text is holding a value in format of "dd-MMM-yyyy hh:mm:ss" and this is coming from an API.
i wanted to convert this text/string to pega datetime (dd-MMM-yyyy hh:mm:ss) to use it in table layout and for sorting purpose.
i tried todatetime() but its not working as expected.
Please help on the above to parse datetime.
Thanks.