Skip to Content
0
Former Member
Aug 28, 2006 at 04:59 AM

How to ADD Days to the Date?

50 Views

hi

I have this thing to do:

int days=wdContext.currentContext.getNoofdays();

Date date = wdContext.currentContext.getDate();

Date date2 = date + days;

wdContext.currentContext.setDate(date2);

Means i have to add no of days to my date.

And then set my date to the increased date(increase due to addition of days.

Please help me

Regards