Oh. 

Yep, removing the millennium would work and I'll just add it later. :)

Thanks.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Burke
Sent: Wednesday, April 30, 2008 1:37 PM
To: Programming forum
Subject: Re: [Jprogramming] RE: [Jgeneral] NUB Problem

Alex Rufon wrote:
> Unfortunately, the use of the 200801010000 as 01/01/2008 00:00 is
> tightly embedded into our system that yanking it out is no mean feat.
:(

OK, but this is not the same thing. The number you used was
20080516.00000057 . Where does the 57 come from?

Even if you cannot control the inputs, you should be able to fix up what
you are given so that things work properly in J.

For example:

  ff=: ":!.15

NB. this is your problem:
  ff ~. 20080516 20080516.00000057
20080516

NB. this is a simple fix that removes the millenium -
NB. you can always add it back later:
  ff ~. 20080516 20080516.00000057 - 20000000
80516 80516.00000057

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to