Re: List of Month Names
- To: mathgroup at smc.vnet.net
- Subject: [mg93628] Re: List of Month Names
- From: "michael.p.croucher at googlemail.com" <michael.p.croucher at googlemail.com>
- Date: Tue, 18 Nov 2008 07:23:05 -0500 (EST)
- References: <gfrjs6$llf$1@smc.vnet.net>
Hi David days = Table[DateString[{1900, 1, x}, {"DayName"}], {x, 1, 7}] months = Table[DateString[{1900, x, 1}, {"MonthName"}], {x, 1, 12}] Gives the following output: {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", \ "Sunday"} {"January", "February", "March", "April", "May", "June", "July", \ "August", "September", "October", "November", "December"} Cheers, Mike www.walkingrandomly.com How about this? On 17 Nov, 11:17, "David Park" <djmp... at comcast.net> 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. > > Thanks in advance. > > David Park > > djmp... at comcast.net > > <http://home.comcast.net/~djmpark>http://home.comcast.net/~djmpark