Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: List of Month Names

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93625] Re: [mg93597] List of Month Names
  • From: Stern <nycstern at gmail.com>
  • Date: Tue, 18 Nov 2008 07:22:31 -0500 (EST)
  • References: <200811171117.GAA22193@smc.vnet.net>

You could do

Table[DateString[{1, mo, 1}, "MonthName"], {mo, 1, 12}]

for the months

and

Table[DateString[{1, 1, day}, "DayName"], {day, 0, 6}]

for the days.

-Michael





On Mon, Nov 17, 2008 at 6:17 AM, David Park <djmpark 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
>
> djmpark at comcast.net
>
>  <http://home.comcast.net/~djmpark <http://home.comcast.net/%7Edjmpark>>
> http://home.comcast.net/~djmpark <http://home.comcast.net/%7Edjmpark>
>
>
>
>


  • Prev by Date: Re: Working with vectors symbolically
  • Next by Date: Re: List of Month Names
  • Previous by thread: List of Month Names
  • Next by thread: Re: List of Month Names