Question6Replies1974Views HenryA80 Member since 2015 52 posts Veteran Careers First Posted: 2 years agoLast activity: 1 year 8 months ago Closed Solved Property-Set Date Time ErrorI am attempting to use property-set for a DateTime value from XML.The value comes from the XML and appears on clipboard correctly.(ex. 2015-04-19 05:00:00).However, when I attempt property-set PEGA does not like it.The following error is given:Invalid expression or reference: For literal Date/Time/DateTime values, enclose the value in double quotes; for property reference, prefix the expression with an equals signAlso see attachment for screen shots. Data Integration Java and Activities ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Accepted Solution Posted: 2 years agoSusanLiu_GCS PEGA replied to HenryA80HI, Please check OOTB DateTime property usage for "property-set" method in activity. For example. open "pxCreateDatetime" which is a DateTime property. You can do "View references" and find out how it is used in activity "property-set" method. Also, please check below pdn link: https://pdn.pega.com/sites/pdn.pega.com/files/help_v72/procomhelpmain.h… Thanks, Susan Posted: 2 years agoRachit_Agarwal PEGA replied to HenryA80Can you try setting the property in "yyyyMMddtHHmmss.SSS zzz" format and run the use case. This way we may get clarity if it is really a format issue. Also, what is the data type for DBSave.HR at your end? Posted: 2 years agoHenryA80 Veteran Careers First replied to Rachit_Agarwal.HR in DBSave.HR is a data type of datetime Posted: 2 years agoRachit_Agarwal PEGA replied to HenryA80Can you try writing a java step where you can convert this input string to date and save it in a local date/datetime parameter? In the later step, you can assign it to DBSave. Please refer to below article. https://stackoverflow.com/questions/16910344/how-to-convert-string-into… Hope this helps. Posted: 2 years agoHenryA80 Veteran Careers First replied to Rachit_AgarwalI will give this a try... Posted: 1 year agoRanabirB Tata Consultancy Services replied to HenryA80Quick fix for THis : Not recomended but it will work. Set a Param.A (String type) Set the Source to Param.A Set Param.A to Date Time Property. Viola . it will work . Not recomended .