This does not help, as with this setting, we just get the date to be displayed in that format in readonly , but requirement is to copy the date in that format to the property , which still gives client side validation. Also if we do backend setting of the date time in that format , then also it gives error.
You can use this function “@FormatDateTime()” with argument types inside the parenthesis, this function will return the exact time value from Date time. Use this in Property-Set in an Activity which you have specified above.
Let me know if this works or not, will try to make you clear understanding.
Am getting the datetime value in "08/28/2018 08:42:26" format from the DB and it needs to be written to Stream Datset. Stream DS was able to save this value in the above format in 7.2.1, but since the platform is upgraded to 7.3.1 this datetime format is throwing error. I have raised this to Pega Support and they have come back saying an additional validation is introduced in 7.3 and later versions, hence the expected datetime format to save in DS is "20190108T080157.989 GMT".
Am now trying to convert "mm/dd/yyyy hh:mm:ss" to expected GMT format. Have tried using addToDate function, it gives correct result if I pass the datatime value in "mm/dd/yyyy hh:mm" format. But when I try providing datetime value in "mm/dd/yyyy hh:mm:ss" it throws the attached error (Error.PNG).