we are looking for a function which can convert any DateTime format to Pega Date/Time and was unable to find anything OOTB.
***Edited by Moderator Marissa to update platform capability tags****
Keep up to date on this post and subscribe to comments
I tried below approach and it didn't work..
org.joda.time.format.DateTimeFormatter fmt = org.joda.time.format.DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss");
outDateString = fmt.parseDateTime("20190322T204359.726 GMT").toString()...
** Java Exception: java.lang.IllegalArgumentException: Invalid format: "20190322T204359.726 GMT" is malformed at "T204359.726 GMT"
Guys, any help here or can someone from Pega Systems confirm it and provide the recommendation..
Have you taken a look at the FormatDateTime rule utility function? With that can input a string, define the format it is currently using and the format you want to output.
Sorry, we could not find any existing content that matches your question. Please continue to post your question here
Please enter your question or keywords
Please wait while we search for PDN content that suits your question.