Solved How can i identify 1 day of month is Saturday / Sunday??

venugopalreddy

New Member
Dear All,

I am facing issue while comparing the 1 day of month is Saturday / Sunday ,
How i get 1 day of month and how can i compare is weekend?
Could you please provide solution for this situation..!

Thanks & Regards,
Venu
 

mundhir123

New Member
Dear All,

I am facing issue while comparing the 1 day of month is Saturday / Sunday ,
How i get 1 day of month and how can i compare is weekend?
Could you please provide solution for this situation..!

Thanks & Regards,
Venu


You may use below expression Decision stage for your requirement:

FormatDate(Now(), "dd") =1 AND ((FormatDate(Now(), "dddd") ="Saturday" OR FormatDate(Now(), "dddd") ="Sunday")

If it returns true then it could be weekend on day 1st of the month.
 

yozart

New Member
Or much easyer, you can use Blueprism Calendar VBO which contains a page "IsWeekEnd"

2019-10-22_11-08-20-png.4743


View attachment 2019-10-22_11-08-20.png
 

venugopalreddy

New Member
You may use below expression Decision stage for your requirement:

FormatDate(Now(), "dd") =1 AND ((FormatDate(Now(), "dddd") ="Saturday" OR FormatDate(Now(), "dddd") ="Sunday")

If it returns true then it could be weekend on day 1st of the month.

Thanks every one..!!
I was worked on its working.
I want know one more thing how can i get last day of month,

Thanks & Regards,
Gopal
 
Top