Skip to main content
dateTime d = system.today().addDays(-7);

 

// Datetime endDt = Datetime.valueOfGmt(today);

 

list<event> evtlist =[Select id,StartDateTime, EndDateTime, Subject,OwnerId, Owner.profileId,Owner.email from Event where EndDateTime =:d];

 

system.debug('@@evtlist:='+evtlist);

 

( EndDateTime  Format : 2016-06-03T18:00:00.000+0000 )

 

PHO....

 

Thanks..
1 Antwort
  1. 10. Juni 2016, 16:56
    Hello Manju,

     

    This community is focused on help with declarative configuration changes and non-programmatic solutions.  You have a better chance of getting relevant answers if you post it on one of the following forums [lots of talented developers out there who must have worked on similar problems before]:

    For any configuration changes and point and click design solutions, feel free to post in this community and we will be glad to help you out.   

0/9000