Month Name

Month Name

I want to extract the month from a date as "Jan","Feb","Mar" etc

It seems to me that I can only use getMonth() to obtain the month number and then construct a

if,else if,else if,else if etc to test the number and apply a string value, through 12 iterations if the month is "Dec"

Is there a swifter and/or more elegant way to code this?

Thanks
Greg