how to get month in queries

A

Anthony Rasquinha

I have a date filed "Auditdate" from which I have got the month in string
format as Monthname(Month(Auditdate))
Now when I try makinga pivot in excel and link it to this table it says
Monthname is not a valid function.

Is there another method in which I could combine functions to get the month
name
 
A

Allen Browne

Try:
Format(Auditdate, "mmmm")

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

message
news:[email protected]...
 
Top