Question6Replies2132Views×Close popoverHenry Allen (HenryA80) Veteran Careers First Veteran Careers First US View Profile HenryA80 Member since 2015 54 posts Veteran Careers First Posted: February 26, 2018Last activity: January 17, 2019Posted: 26 Feb 2018 16:50 ESTLast activity: 17 Jan 2019 3:12 EST 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 agoPosted: 26 Feb 2018 19:49 EST×Close popoverSusan Liu (SusanLiu_GCS) PEGA Principal Software Solutions Engineer Pegasystems Inc. US View ProfileSusanLiu_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.htm#designer%20studio/expressionbuilder/ref_constants.htm Thanks, Susan Posted: 2 years agoPosted: 26 Feb 2018 20:06 EST×Close popoverRachit Agarwal (Rachit_Agarwal) PEGA Senior Technical Solutions Engineer Pegasystems Inc. IN View ProfileRachit_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 agoPosted: 27 Feb 2018 8:49 EST×Close popoverHenry Allen (HenryA80) Veteran Careers First Veteran Careers First US View ProfileHenryA80 Veteran Careers First replied to Rachit_Agarwal.HR in DBSave.HR is a data type of datetime Posted: 2 years agoPosted: 28 Feb 2018 21:45 EST×Close popoverRachit Agarwal (Rachit_Agarwal) PEGA Senior Technical Solutions Engineer Pegasystems Inc. IN View ProfileRachit_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-date-time-format-in-java Hope this helps. Posted: 2 years agoPosted: 13 Mar 2018 10:38 EDT×Close popoverHenry Allen (HenryA80) Veteran Careers First Veteran Careers First US View ProfileHenryA80 Veteran Careers First replied to Rachit_AgarwalI will give this a try... Posted: 2 years agoPosted: 17 Jan 2019 3:12 EST×Close popoverRanabir Bhattacharjee (RanabirB) Tata Consultancy Services Tata Consultancy Services IN View ProfileRanabirB 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 .