Devon proposed:
> A nice extension to "6!:0" would be a format string
Roger responded:
> that's a nice idea. The function, not the dotage.
If you seriously consider it, I withdraw my extension and propose instead:
dates =. 12 2 5 23 19 42 , 6 13 6 9 18 1 ,: 10 30 7 14 6 13
format =. 'MM/DD/YY hh:mm:ss'
dates 6!:0 format
12/02/05 23:19:42
06/13/06 09:18:01
10/30/07 14:06:13
And, of course:
dates =. '12/02/05 23:19:42','06/13/06 09:18:01',:'10/30/07
14:06:13'
dates 6!:0^:_1 format
12 2 5 23 19 42
6 13 6 9 18 1
10 30 7 14 6 13
:)
-Dan
PS: I have utilities like this, if you need starter code.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm