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.
Solved! Go to Solution.
Thanks Manoj, we got the correct code to check the comparison of birthdate with today's date. please find the below code for other's reference too.
concat(substr(toString(now()),8,10),substr(toString(now()),5,7))==concat(substr(toString(#{ExperiencePlatform.ProfileFieldGroup.profile.person.birthDate}),8,10),substr(toString(#{ExperiencePlatform.ProfileFieldGroup.profile.person.birthDate}),5,7))
Hello @gengaipandi11
Try using this to get the day and month from the current date.
concat(substr(toString(now()),8,9),substr(toString(now()),5,6))
Views
Replies
Total Likes
Thanks Manoj, we got the correct code to check the comparison of birthdate with today's date. please find the below code for other's reference too.
concat(substr(toString(now()),8,10),substr(toString(now()),5,7))==concat(substr(toString(#{ExperiencePlatform.ProfileFieldGroup.profile.person.birthDate}),8,10),substr(toString(#{ExperiencePlatform.ProfileFieldGroup.profile.person.birthDate}),5,7))
Views
Likes
Replies