Find first sunday of last month

Hi Team,

how to find first sunday of last month using uipath

@sshitol Use this new DateTime(Now.Year, Now.Month -1, 1)

its giving first day of last month. I need first “Sunday” of “last or previous month”

You need to use Do While loop to do that @sshitol

Use the code as


hey @sshitol


Please find below attached reference :slight_smile:
Get First Sunday of Last Month - Aksh1Yadav.xaml (5.9 KB)

1 Like