S SteveHirsch New member Local time Today, 04:58 Joined Apr 21, 2005 Messages 5 Dec 19, 2005 #1 Can anyone help with a query that takes the dates (with other data) and convert to monthly?
selenau837 Can still see y'all...... Local time Today, 07:58 Joined Aug 26, 2005 Messages 2,211 Dec 19, 2005 #2 Can you please be a little more specific with your question? DatePart() function may be what you are looking for, but I am not sure.
Can you please be a little more specific with your question? DatePart() function may be what you are looking for, but I am not sure.
N nateobot Registered User. Local time Today, 06:58 Joined Dec 13, 2005 Messages 86 Dec 19, 2005 #3 We can't help if you don't tell us what you need help with. Post the query and tell us what isn't working/what you are looking for. Extracting a month from a date field is not difficult, but I am not sure if that is what you want. Code: SELECT Month([datefield]) AS [DateMonth] FROM Table1
We can't help if you don't tell us what you need help with. Post the query and tell us what isn't working/what you are looking for. Extracting a month from a date field is not difficult, but I am not sure if that is what you want. Code: SELECT Month([datefield]) AS [DateMonth] FROM Table1
N namliam The Mailman - AWF VIP Local time Today, 13:58 Joined Aug 11, 2003 Messages 11,695 Dec 20, 2005 #4 I would suggest that if you dates go over a period of years you cannot use datepart or month You should then do Year([Yourdate]) & Month([Yourdate]) or Format([Yourdate],"YYYYMM") Seasons greetings from Amsterdam The Mailman
I would suggest that if you dates go over a period of years you cannot use datepart or month You should then do Year([Yourdate]) & Month([Yourdate]) or Format([Yourdate],"YYYYMM") Seasons greetings from Amsterdam The Mailman