Why not use the 'dates' script? It is accurate to the millisecond and it provides many tools for formatting and comparison of dates and time.
On Fri, May 2, 2008 at 12:48 PM, Raul Miller <[EMAIL PROTECTED]> wrote: > On 5/2/08, Roger Hui <[EMAIL PROTECTED]> wrote: > > Unless I'm going to do date arithmetic (e.g. 10 days from 20080526), > > I like yymmdd because I can tell at a glance what the thing is. > > For date and time I would use 2 integers, yyyymmdd hhmmss, > > which is the same amount of space as a single floating point number > > without the tolerance problem. > > But this loses track of fractional seconds, which apparently > are significant in this case. (On the other hand, you could > multiply the time part by 1000 and track time to the nearest > millisecond using this approach.) > > -- > 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
