I'm not sure I understand. You mean to say happy birthday right now, before their birthday?
Usually, you would just wait until the day to tell them - or, if it is close enough to their birthday, either before or after, and you know you will not see them on that day, you could wish them a 'Happy Belated Birthday.'