Domino Code Fragment

Code Name*
Date Computation Formula
Date*
06/28/2025
Source (or email address if you prefer)*
[email protected]
IP address:.172.69.58.130
Description*
The formula calculates the difference in Years between two Dates. For example, the formula below calculates your Age by subtracting Today's date from your Birthday. Don't forget to add your Birthday field to a form or it won't work.
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:
REM "Required Field(s): Birthday ";
@If(@Month(@Today) > @Month(Birthday); @Year(@Today) - @Year(Birthday); @If(@Day(@Today) < @Day(Birthday);
(@Year(@Today) - @Year(Birthday)) - 1; @If(Birthday = ""; "Ageless"; @Year(@Today) - @Year(Birthday))))