Probably stating something you already know,
But why not use Salesforce Formula Fields to accomplish the Same?
Then simply make condition based on that field
In your case example If(TODAY() - Birthdate < 0,1,0)
And render if = 1 or whatever your use case is.
Unless ofc you are trying to do this on 2 date fields from 2 completely unrelated child records…