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

Translating a number date to a text month? 1

Status
Not open for further replies.

jbelf

MIS
May 14, 2003
12
0
0
AU
Hi,

I have a date field, but I'd like to display the text 'month' for some graphing and reports. I've converted the date (6/2/03) to the number month (6)using DatePart("m",[end date]), however this only converts it to a numbered month (6). How can I get this to display 'June'?

Any insights greatly appreciated.
 
format([end date],"mmmm"). That's all you need. Hope that helps.

Kevin
 
This may not be the only way, but you could pass the DatePart expression to MonthName:

monthname(DatePart("m",[end date]))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top