You have to send it a few days before the person's birthday, and that person has to be close enough to you that your thoughtfulness won't seem creepy.
Every acquaintance you've connected with on Facebook has likely entered their birth date there, and reminders of their special day pop up conveniently on your Facebook homepage.