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