Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upcoming Birthday 1

Status
Not open for further replies.

BlurredVision

Technical User
Aug 6, 2001
326
GB
Hello all.. I've been knocking my head against the wall..

I have a birthdate field.. I just need to know who has a birthday coming up within the next 45 days. Thought Dateadd would do the trick, but I can't seem to get it to work.. Thanks for any help given..
 
Try:

date(year(currentdate),month({table.birthdate}),day({table.birthdate}) in currentdate to currentdate + 44

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top