Question4Replies6955Views Connect@Abicom Member since 2015 39 posts Serendebyte Posted: 3 years agoLast activity: 3 years 4 months ago Closed Is there any function available in pega to return the day name for a given date?Eg : If input is Date value(20170331) then i should get day name(Friday)***Updated by moderator: Lochan to move post from Applications community to PSC*** Low-Code App Development Dev/Designer Studio 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. Posted: 3 years agoSumaB801 Verizon replied to Connect@AbicomHi @Anytimeweekday("20150101T010101"). you can use this function. Regards Suma Posted: 3 years agoUpdated: 3 years agoPoorna Tata Consultancy Services replied to Connect@AbicomIt can be achieved in two steps. 1. Use the function @DateTime.weekday(Date). Pass Simple Date in the format YYYYMMDD. This function will give number for the day. If it is Sunday-1 Monday - 2 ..... and Saturday - 7. 2. Use decision table to match the name of the day with output of the above function. --Poornachandra Posted: 3 years agoapurva HCL replied to Connect@Abicomsteps:- 1.)convert your given date to Big Decimal by using @dateTimeToBigDecimal("20170331","Date",tools) 2.)now use @weekday() function as @weekday( @dateTimeToBigDecimal("20170331","Date",tools)) Note:-@weekday function will take bigdecimal as ita parameter and return integer respective to weekday. ex-sun-01,mon-02,tue-03.... 3.)param.a=@weekday( @dateTimeToBigDecimal("20170331","Date",tools)) 4.)a=6 Posted: 3 years agoashokk09 Areteans Tech replied to Connect@Abicomyou can use @formatdatetime function to find the day of given date. Let us know if it works.