Oct 8, 2002 #1 Zbob MIS Joined Apr 25, 2002 Messages 94 Location US When using the monthname function how do you abbreviate?
Oct 9, 2002 1 #2 goranm Programmer Joined Dec 18, 2001 Messages 247 Location SE 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 Upvote 0 Downvote
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
Oct 9, 2002 #3 synapsevampire Programmer Joined Mar 23, 2002 Messages 20,180 Location US Purdy slick there, Goran!*! I always used: left(monthnae(month({MyTable.MyDate})),3) -k http://www.informeddatadecisions.comkai@informeddatadecisions.com Upvote 0 Downvote
Purdy slick there, Goran!*! I always used: left(monthnae(month({MyTable.MyDate})),3) -k http://www.informeddatadecisions.comkai@informeddatadecisions.com
Oct 9, 2002 Thread starter #4 Zbob MIS Joined Apr 25, 2002 Messages 94 Location US Thanks for your help, What i wanted is monthname([date]),True) the true is what makes it abbreivate. Upvote 0 Downvote
Oct 9, 2002 #5 Naith Programmer Joined May 14, 2002 Messages 2,530 Location GB Huh? That formula works? Upvote 0 Downvote
Oct 9, 2002 Thread starter #6 Zbob MIS Joined Apr 25, 2002 Messages 94 Location US Actually monthname returns the month for a number 1-12, I was using it like this MonthName (Month(date(01/01/2002 )),true ) Upvote 0 Downvote
Actually monthname returns the month for a number 1-12, I was using it like this MonthName (Month(date(01/01/2002 )),true )
Oct 9, 2002 #7 synapsevampire Programmer Joined Mar 23, 2002 Messages 20,180 Location US Ahhh, didn't know about the switch on the monthname, I still now prefer ToText({table.datefield,'MMM'). -k http://www.informeddatadecisions.comkai@informeddatadecisions.com Upvote 0 Downvote
Ahhh, didn't know about the switch on the monthname, I still now prefer ToText({table.datefield,'MMM'). -k http://www.informeddatadecisions.comkai@informeddatadecisions.com