Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 61817

A value that indicates a particular day. Unlike Datetime values, Date values contain no information about time

1 vote
1 answer
1k views

How to check date field with set of dates?

List<Account> a=[select id,duedate__c,overduedate__c from account]; Set<Date> sdate=new set<date>(); Set<Date> s1date=new set<date>(); for(Account acc.a){ sdate.add(acc.duedate__c); sdate1.add(acc.overduedate … __c ); } My sdate: 2017-12-31,2017-12-03 and s1date :2018-12-31,2017-12-04 I am going to insert new account with due date 2018-12-31 and over due date 2018-12-04. …
moni's user avatar
  • 25