(XPage/JSsvr-side)如何计算从今天算起两周后的年月日?

(XPage/JS svr-side)How to calculate the year, month and day two weeks from today?

var TODAY_TEMP = @Text(@Year(@Today()))+@Right("0"+@Text(@Month(@Today())),2)+@Right("0"+@Text(@Day(@Today())),2);

我需要计算从今天开始的两周,我已经得到了今天,但是我不知道如何得到两周后的日期。

很抱歉...我不熟悉如何在 javascript 服务器端编写程序...

使用@Adjust function。示例:

@Adjust(@Today(), null, null, 14, null, null, null);