function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
DateTime startDT=DateTime.newInstance(2011, 7, 13, 0, 0, 0); DateTime endDT=DateTime.newInstance(2011, 7, 14, 0, 0, 0); String queryStr='select id, name from Account ' + ' where CreatedDate>=:startDT ' + ' and CreatedDate<=:endDT'; List<Account> accs=Database.query(queryStr);
Let us know if this will help you