On 5/23/07, Raul Miller <[EMAIL PROTECTED]> wrote:
On 5/23/07, Cliff Reiter <[EMAIL PROTECTED]> wrote: > Are there standard J utilities for converting Date/time > text into a standard numeric form that accounts for > the complexities of dates?Yes, but you'd also want something to convert your timestamp strings to 6!:0 format: toTs=: 0 ". ' '"_`([:I.(~.":i.10)[EMAIL PROTECTED])`]}~ require'dates' '2007-04-22T00:06:59Z' -&todayno&(3&{.)&toTs'2007-04-21T10:15:08Z' 1 x:'2007-04-22T00:06:59Z' -&tsrep&toTs'2007-04-21T10:15:08Z' 49911000 The first number there is days, the second is milliseconds -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
-- (B=) <-----my sig Brian Schott ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
