Re: List of Month Names
- To: mathgroup at smc.vnet.net
- Subject: [mg93615] Re: List of Month Names
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Tue, 18 Nov 2008 07:20:38 -0500 (EST)
On 11/17/08 at 6:17 AM, djmpark at comcast.net (David Park) wrote: >Is there a short Mathematica command to obtain a list of month names >or short month names in order, without having to type them all in by >hand? And same question for days of the week. for months In[4]:= Table[DateString[{0, n}, {"MonthNameShort"}], {n, 12}] Out[4]= {Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec} for days In[6]:= Table[DateString[{0, 0, n + 4}, {"DayNameShort"}], {n, 7}] Out[6]= {Mon,Tue,Wed,Thu,Fri,Sat,Sun}