Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Date Calculations

Avatar

Not applicable
I am having trouble, I have a date time field and want to insert another datetime field 280 days after the first one. I then want a numeric field that calculates the number of weeks difference from the current date and the second datetime field.



I have tried to put the script $ = num2date(DateTimeField+280) in the DateTimeField4 but get no results.



Can anyone help?
1 Reply