MathGroup Archive 2006

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

Search the Archive

Formatted Date String

  • To: mathgroup at smc.vnet.net
  • Subject: [mg67106] Formatted Date String
  • From: "." <ggroup at sarj.ca>
  • Date: Fri, 9 Jun 2006 01:09:00 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi all,

Is there an elegant way to convert the output of the Date[] function
into other formats, like formatted strings?  Specifically, I have my
own routine to output the results of my calculations into a specific
file format.  I want to automatically include the date, but I want it
in the format: <Month> <day>, <Year>.  So today's date would output
"June 8, 2006".  I know this is easy enough to do using some brute
force (ie create a lookup table to convert numeric months to their
string equivalents).  However, I was hoping that a more elegant, or at
least more native solution might be possible.

Thanks!


  • Prev by Date: Re: Or in a Select question
  • Next by Date: Selecting Real Roots, Again
  • Previous by thread: Re: Re: standard errors and confidence intervals in NonlinearRegress
  • Next by thread: Re: Formatted Date String