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

Monthname 1

Status
Not open for further replies.

Zbob

MIS
Apr 25, 2002
94
US
When using the monthname function how do you abbreviate?

 
Hi !

If it´s ok with you, you can instead of monthname use the ToText-function like this:

ToText({table.datefield,'MMM') will give you an abbreviate monthname

and

ToText({table.datefield,'MMMM') will give you the full monthname

/Goran
 
Thanks for your help,

What i wanted is monthname([date]),True)

the true is what makes it abbreivate.
 
Actually monthname returns the month for a number 1-12, I was using it like this

MonthName (Month(date(01/01/2002 )),true )
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top