MathGroup Archive 2008

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

Search the Archive

Re: List of Month Names

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93616] Re: List of Month Names
  • From: Januk <ggroup at sarj.ca>
  • Date: Tue, 18 Nov 2008 07:20:49 -0500 (EST)
  • References: <gfrjs6$llf$1@smc.vnet.net>

Hi David,

You can make DateString give you what you want:

DateString[{2008, 11, 1 + #, 12, 0, 0}, {"DayName"}] & /@ Range[7]
DateString[{2008, 11, 1 + #, 12, 0, 0}, {"DayNameShort"}] & /@ Range
[7]
DateString[{2008, #, 1, 12, 0, 0}, {"MonthName"}] & /@ Range[12]
DateString[{2008, #, 1, 12, 0, 0}, {"MonthNameShort"}] & /@ Range[12]

Hope that helps!
Januk


On Nov 17, 6:17 am, "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? A=
nd
> 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



  • Prev by Date: Re: List of Month Names
  • Next by Date: Re: List of Month Names
  • Previous by thread: Re: List of Month Names
  • Next by thread: Re: List of Month Names