Hi guys - needing to make a calculation to show the birthday of the current year based off the date we key in for the birthday. Example. If a the Date of Birth field is 01/01/1980 this as of today (4/16/18) I need the calculated field to be 01/01/2019. Likewise if the birthday is 06/01/1980, the calculated field would be 06/01/2018.
Struggling a little with this using moment.js. Having a hard time extracting the year and attaching the next birthday. Do not want to use current year as the variable if it can be helped.
Please sign in to leave a comment.