Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Bug in FromDate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48923] Re: Bug in FromDate
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Wed, 23 Jun 2004 02:51:34 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

On 6/22/04 at 5:32 AM, sdementen at hotmail.com (Sebastien de Menten)
wrote:

>I am using FromDate with arguments outside the usual scope but
>don't get any sensible result.

>The first example is OK: ToDate[FromDate[{2004,14,1,0,0,0}]] ->
>{2005,2,1,0,0,0}

>While the second is wrong: ToDate[FromDate[{2004,15,1,0,0,0}]] ->
>{2005,3,4,0,0,0} instead of {2005,3,1,0,0,0}

>Does anybody know the expected behaviour of FromDate ?

I get

In[1]:=
$Version

Out[1]=
"5.0 for Mac OS X (June 10, 2003)"

In[2]:=
ToDate[FromDate[{2004,15,1,0,0,0}]]

Out[2]=
{2005, 3, 1, 0, 0, 0.}

So, perhaps you are using a different version or need to restart the kernel
--
To reply via email subtract one hundred and four


  • Prev by Date: Chaitin lisp.m syntax errors?
  • Next by Date: Re: Bug in FromDate
  • Previous by thread: Re: Bug in FromDate
  • Next by thread: Re: Net/Link: Problems with DLL (3)