We created the segment with birthday attribute = today where we found the sample profiles shows only shows previous day instead of today. So we want to put the below statement inside the condition node.
#{ExperiencePlatform.ProfileFieldGroup.profile.person.birthDate} == toDateOnly(now())
But, it is not giving us the right result. do we able to do ignore year in the condition level advanced editor?
In Json, we can use the below code to find the birthday accurately. Because, we dont have any function for getMonth and currentMonth kind of functions in Condition node in Journey.
{%#if profile.person.birthDate.getMonth() = currentMonth() and profile.person.birthDate.getDayOfMonth() = currentDayOfMonth() %}Happy Birthdate{%else%}No birthdate today{%/if%}