You need to sign in to do that
Don't have an account?
Renuka G 9
creating date dynamically in salesforce apex test class
Hi,
We have a scheduler class, which creates task on every Dec1. It checks for Date.Today().Day()==1 && Date.Today().Month()== 12.. Somebody please help me to how cover this..
We have a scheduler class, which creates task on every Dec1. It checks for Date.Today().Day()==1 && Date.Today().Month()== 12.. Somebody please help me to how cover this..
Use "todayDate" variable to check the condition. Now Your Task creation code will execute in both ways.
Thanks
Satya.
All Answers
Use "todayDate" variable to check the condition. Now Your Task creation code will execute in both ways.
Thanks
Satya.