function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sandeep reddy 37sandeep reddy 37 

how to instalizes date give that input

i want delete all account records between the 1st to 30th right 
how will performs we
public class transforms {
    public account acc;
    public date start;
    public date  end;
    public transforms(){
        start=new date();
        end=new date();
        end.date.newInstance(1,05,2016);
        start.date.newInstance(25,04,2016);
        acc=new account();
        database.getDeleted(acc, start, end);        
    }
}