Hi, can please anybody help me with the formula to calculate ages for example? Its the datediff expression, but you have not only to take care of not years, but also months and days. How can I combine this? Thanks a lot, regards Michael
Calculating Ages etc
Collapse
X
-
Hi,
just using formula without a workflow isn't a good idea, because formula can update values only, when you save a record.
With Workflow feature it's possible to make the system to send notifications about birthdays of contacts or other entities like users, leads. You need to have a date field that represents date of birth in your entity (e.g. entity Contact, field dateOfBirth). You can create it in Entity Manager.
fullYears=datetime\diff(datetime\today(), birthday, 'years');
this formula works ok
Birthday
22 May, 2016
FullYears
1
Birthday
05 May, 2016
FullYears
2
Comment