datetime - Adding one day to timestamp using gwt bootstrap in client side -


i have gwt bootstrap datetimebox , want add 1 day current time stamp i,e wanna show default date tomorrow in client side. tried using calendar instance , gives compilation error . plz how can achieve on client side without making server call.

to add day current date in gwt have use calendarutil class:

date = new date(); calendarutil.adddaystodate(now, 1); // change number of days, use negatives subtract 

hope helps.