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
soni rajputsoni rajput 

Probelm in creating task record

Hi,

 

I have created a VF page and apex class. VF page if for creating task.

I am creating recurring task records through apex code and for this i want to calculate cmaximum end date of recurring task

based on selected frequency. 

How can i calculate max end date ? Urgent !!

 

Thanks,

Soni

sushant sussushant sus
u have to check how many month u want to add .for maximum date
from start date

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_date.htm