Question5Replies896Views MOHAMMAD_PARWEJ Member since 2015 19 posts Ernst & Young LLP Posted: 2 years agoLast activity: 2 years 3 months ago 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 agoSunnyMahato PEGA replied to MOHAMMAD_PARWEJCreate a new function as shown below .. eg name : DoubleToDate Then from your DataTransform call that function : Posted: 2 years agoanuv6295 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 agoKC-Abburi Crochet Technologies replied to SunnyMahatoThank you Posted: 2 years agoMOHAMMAD_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 agotquadrat 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.