Domino Code Fragment

Code Name*
Adjust a Date Into the Future
Date*
04/29/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.18.118.200.136
Description*
Adjusts a date field ahead by one year. This type of formula is ideal when you want to compute a date into the future based on a date entered into a particular field. For example, the formula listed below is used to set a warranty expiration date (WarrantyExpires) one year from the date of purchase (DatePurchased).
Type*
Formula
Categories*
Date/Time Handling
Implementation:
Required Client:
Server:
Limitations:
Comments:
See @SetField and @Adjust for additional information on these functions.
Files/Graphics attachments (if applicable): Code:
@SetField("WarrantyExpires"; @Adjust(DatePurchased; 1; 0; 0; 0; 0; 0));