Question5Replies998Views×Close popoverMohammad Parwej Alam (MOHAMMAD_PARWEJ) Ernst & Young LLP Associate Technical Lead Ernst & Young LLP IN View ProfileSend Message MOHAMMAD_PARWEJ Member since 2015 19 posts Ernst & Young LLP Posted: June 27, 2018Last activity: 2 weeks 3 days agoPosted: 27 Jun 2018 8:22 EDTLast activity: 17 Feb 2021 10:12 EST Closed Solved How to Convert Double to Date in a Data TransformHi All,I have a requirement where i need to convert a double property value to Date property value in a Data Transform.The example for double property value is as: 305942400000Pls guide some solution. Please share the java code along with the function screenshots.Regards,Parwej Low-Code App Development 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: 27 Jun 2018 17:03 EDT×Close popoverSunny Mahato (SunnyMahato) PEGA Principal Solutions Consultant Pegasystems US View ProfileSend MessageSunnyMahato PEGA replied to MOHAMMAD_PARWEJCreate a new function as shown below .. eg name : DoubleToDate Then from your DataTransform call that function : Posted: 2 years agoPosted: 11 Jul 2018 9:52 EDT×Close popoveranu vasamsetty (anuv6295) HCL Singapore PTE LTD HCL Singapore PTE LTD SG View ProfileSend Messageanuv6295 HCL Singapore PTE LTD replied to SunnyMahatoHi, "line: 1 The method getjavaDate(Double) is undefined for the type DateUtil line: 2 olog cannot be resolved Library— The Library failed to compile" Did you face the above kind of error,if so how did you fix. Thanks in advance Posted: 2 years agoPosted: 11 Jul 2018 14:18 EDT×Close popoverKrishna Chaitanya Abburi (KC-Abburi) Crochet Technologies Crochet Technologies IN View ProfileSend MessageKC-Abburi Crochet Technologies replied to SunnyMahatoThank you Posted: 2 years agoPosted: 28 Jun 2018 12:17 EDT×Close popoverMohammad Parwej Alam (MOHAMMAD_PARWEJ) Ernst & Young LLP Associate Technical Lead Ernst & Young LLP IN View ProfileSend MessageMOHAMMAD_PARWEJ Ernst & Young LLP replied to MOHAMMAD_PARWEJHi Sunny, There is one small doubt. The sample value i have given above is : 305942400000 Why have you taken only 30594.00 as the input value for the function? What if the value is like "717292800000". Do we need to take the first five digits only in all the cases? Regards, Parwej Posted: 2 years agoPosted: 10 Jul 2018 6:01 EDT×Close popoverThomas Thrien (tquadrat) PEGA Sr. Software Solutions Engineer Pegasystems GmbH DE View ProfileSend Messagetquadrat PEGA replied to MOHAMMAD_PARWEJHow do we have to interpret the value in that double property? Is it "milliseconds since the begin of the epoch"? If so, try this: return String.format( "%tF", java.lang.Math.round( dateDouble ) ); It the date is encoded to the double value in a different way, we first need to know details about that format.