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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get only Month and Year from a date?

Status
Not open for further replies.

longmatch

Programmer
Nov 1, 2001
406
I would like to get month and year from a date field, and count the record for each month in three years. Does anybody konw how to do it.

thanks in advance

longmatch
 
have you got something started you need help with?

there are a few threads on the date day,year, month etc.. below and the FAQ on "Formating date time.. should give you the data you need and then just perform the calculations on that return

____________________________________________________
The most important part of your thread is the subject line.
Make it clear and about the topic so we can find it later for reference. Please!! faq333-3811

onpnt2.gif
 
faq333-3194

____________________________________________________
The most important part of your thread is the subject line.
Make it clear and about the topic so we can find it later for reference. Please!! faq333-3811

onpnt2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top