Jump to content
Sign in to follow this  
nati

finding range of months

Recommended Posts

hi all,

before i dive into this i figure somebody must have done this before. i want to find birthdays for any date within usually a month period. so say everybody that has a birthday in june, but the 6/1/1925...6/30/2001 doenst' work. how can i find just the months for any year?

all help appreciated!

nati

Share this post


Link to post
Share on other sites

Take a look at the Month(date) function under the DateFunctions. If you have a field "birthday" then define a second field called "BithMonth".

BirthMonth=Month(birthday)

returns 1 to 12.

Search on that field. Or you can use MonthName in a similar fashion. Returns Jan...Dec

HTH

Old Advance Man

Share this post


Link to post
Share on other sites

>but the 6/1/1925...6/30/2001 doenst' work.

I should have added that this finds everyone born BETWEEN these 2 dates, irrespective of the month or year.

Old Advance Man

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.