You need to sign in to do that
Don't have an account?
Mary Perez 1
workflow to update close date to the FIRST Day of the current month
I need help with a WFR for the opporutnity object that will update the Close Date with the first day of the current month and year.
So user enters the Close Date as 2/22/2021 and when saved the Close Date will update to 2/01/2021. I also do not want the Close Date to change when the stage is changed to Closed/Won.
Thank you.
So user enters the Close Date as 2/22/2021 and when saved the Close Date will update to 2/01/2021. I also do not want the Close Date to change when the stage is changed to Closed/Won.
Thank you.
Try below formula.
For close date validation rule.
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
All Answers
Try below formula.
For close date validation rule.
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
The following will get the first day of the next month for given date field [Date]:
DateTimeAdd( DateTimeAdd([Date],1,"months"), 1 - ToNumber(DateTimeFormat([Date],"%d")),"days")
Basically, it adds one month, then subtracts back based on the day of the month.
Nice answer!! For more instructive informatin, visit (https://playappcasino.com/mobile-pokies)