MathGroup Archive 2003

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

Search the Archive

Re: Date and Time - Functions-Bug!?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45101] Re: Date and Time - Functions-Bug!?
  • From: "John Doty" <jpd at w-d.org>
  • Date: Wed, 17 Dec 2003 07:54:20 -0500 (EST)
  • References: <brmqhk$obp$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <brmqhk$obp$1 at smc.vnet.net>, Kastens at hamburg.baw.de  wrote:

> Hi!
> 
> Here is something mysterious:
> 
> ogrenze = FromDate[{2000, 30, 10, 23, 59, 59}]
> --> 3233692799
> 
> ToDate[ogrenze]
> -->{2002, 6, 21, 23, 59, 59}
> 
> Ähm, 2002=2000 ...???  Is this only on my computer? Why?

Because the 30th month of 2000 is also the 6th month of 2002 :-)

> 
> Hmm, I'm thankful for any suggestions to deal with this. marko
> 

Swap the 10 and the 30?

-- 
| John Doty		"You can't confuse me, that's my job."
| Home: jpd at w-d.org
| Work: jpd at space.mit.edu


  • Prev by Date: Re: Date and Time - Functions-Bug!?
  • Next by Date: RE: Date and Time - Functions-Bug!?
  • Previous by thread: Re: Date and Time - Functions-Bug!?
  • Next by thread: RE: Date and Time - Functions-Bug!?