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

I need to calculate two weeks from today, I already get today, but I don't know how to get the date of after two weeks.

So sorry... I'm not familiar with how to write programs on the javascript server-side...

1 Answer 1

8

Use the @Adjust function. Example:

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

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.