I have a use case where I only have the users birthday and I would like to get their age as one of my Fields on my users table. To achieve this, I created a trigger that will compute the age of a user when a new records is inserted or an existing record is updated.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Wikiwi
I have a use case where I only have the users birthday and I would like to get their age as one of my Fields on my users table. To achieve this, I created a trigger that will compute the age of a user when a new records is inserted or an existing record is updated.
Trigger:
Output:
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.