def get_employees_who_are_born_today():
 return frappe.db.sql(u"select name, personal_email, company_email, user_id, employee_name\n DCTB  DCTB from tabEmployee where day(date_of_birth) = day(%(date)s)\n DCTB  DCTB and month(date_of_birth) = month(%(date)s)\n DCTB  DCTB and status = 'Active'", {u'date': today()}, as_dict=True)

def get_employees_who_are_born_today ( ) : return frappe . db . sql ( u"select name, personal_email, company_email, user_id, employee_name\n DCTB  DCTB from tabEmployee where day(date_of_birth) = day(%(date)s)\n DCTB  DCTB and month(date_of_birth) = month(%(date)s)\n DCTB  DCTB and status = 'Active'" , { u'date' : today ( ) } , as_dict = True )
get employee properties whose birthday is today .