Thanks Raul, this worked perfectly.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Raul Miller
Sent: Tuesday, January 15, 2008 1:11 PM
To: Programming forum
Subject: Re: [Jprogramming] converting to/from isotimestamp

On 1/15/08, bill lam <[EMAIL PROTECTED]> wrote:
> If you are _not_ looking for a tacit form or a solution with smallest
number
> of character then this will work,

Or, if you are,
   4 7 13 16}~&' '&.": '2007-02-12 12:32:43.325'
2007 2 12 12 32 43.325

Or, if your timestamps might have extraneous whitespace
   ' '"_`([EMAIL PROTECTED]&'-:'@])`]}~&.":'2007-02-12 12:32:43.325'
or
   ([:".('  ',a.){~('-:',a.)i.]) '2007-02-12 12:32:43.325'

That said, Bill Lam's approach might be easier your you to understand.

-- 
Raul
----------------------------------------------------------------------
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