daysDiff is already available, secsDiff would be

secsDiff=: 86400 * daysDiff

Please excuse typos; composed on a handheld device.

-----Original Message-----
From: Raul Miller <[email protected]>
Sent: Friday, 22 October 2010 07:13
To: Programming forum <[email protected]>
Subject: Re: [Jprogramming] types/datetime addon released


On Thu, Oct 21, 2010 at 10:59 AM, Devon McCormick <[email protected]> wrote:
> I don't think I've ever actually used the 1{result in practice.  For what I
> do, I'm usually interested in the number of seconds.  Perhaps a more
> succinct alternative, maybe "tsDiffS", would return only seconds.

Or seconds divided by 86400?  (That would be the difference in
days, and also offers a convenient way of distinguishing between
the date and time aspects.)

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