Posted: 29 Apr 2019 10:03 EDT Last activity: 16 May 2019 1:59 EDT
Text property to datetime - Dateformat
We need to parse a text property with a specific datetime format (YYYY-mm-DD hh:mi:ss) to a datetime property in Pega. Does it exist some functionality? We have been reading posts but it is not clear and using expressions it would be something like that:
Contains a RegExp that only admits numbers from 0-9 and spaces (clear other characters), replace the space for a "T" (Time separator) and concats with string ".000 GMT" to get the DateTime String format.