Question4Replies2313Views VineethaK0022 Member since 2015 3 posts Instellars Posted: 4 years agoLast activity: 4 years 3 months ago Closed Solved how to covert julian date to normal date format for example: juliandate- 2013123 should be as 3 May, 2013 or yyyymmdd formathow to covert julian date to normal date format for example: juliandate- 2013123 should be as 3 May, 2013 or yyyymmdd formatMessage was edited by: Lochan to add Category System Administration ×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. Posted: 4 years agoMahesh Midthuru PEGA replied to VineethaK0022Hi Vineetha,I am not sure about the OOTB rule to convert the Julian date into the regular date format, but I had written a code to convert the Julian date into the normal date as follows:Code:String input = "1999046";DateFormat fmt1 = new SimpleDateFormat("yyyyDDD");Date date = fmt1.parse(input);DateFormat fmt2 = new SimpleDateFormat("MM/dd/yyyy");String output = fmt2.format(date);System.out.println(output);Output: 02/15/1999Hope this might help you in achieving your requirement.Regards,Mahesh Posted: 4 years agoVineethaK0022 Instellars replied to Mahesh MidthuruThanks Mahesh for your replyDo you know any OOTB or java code to convert normal date to Julian date Posted: 4 years agoMahesh Midthuru PEGA replied to VineethaK0022Hi Vineetha,I am not aware of the OOTB rule to perform this functionality so i had suggested you to do this using Java code.Regards,Mahesh Accepted Solution Posted: 4 years agoVineethaK0022 Instellars replied to VineethaK0022Hi ,I had done using pega functions only. @(Pega-RULES:DateTime).DateTimeDifference(@(Pega-RULES:String).toDate(Param.Input),@(Pega-RULES:String).toDate("20160621"), "D") @(Pega-RULES:String).substring( @(Pega-RULES:DateTime).CurrentDateTime(), 0, 4)+"0101"