Cliff, I have just created a new page on the wiki with http://www.jsoftware.com/jwiki/RicSherlock/Temp/JulianDay
That has some verbs for converting dates to and from Julian days that may be of interest to you. I'll move it to Scripts/JulianDayDate as soon as I work out how!! > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Cliff Reiter > Sent: Thursday, 24 May 2007 07:56 > To: General forum > Subject: [Jgeneral] Date/Time to numeric utilities > > Hello forum, > I have data coming from GPS Track points where, for example, > the first and last track point entries in a 33km snowshoeing > trek in April are of the form > > ({.,{:) tp_in_lap_x >45{laps > +--------------------+--------------------------------+ > |2007-04-21T10:15:08Z|44.1936 _73.9555 646.624 5.10308| > +--------------------+--------------------------------+ > |2007-04-22T00:06:59Z|44.1934 _73.9554 634.607 33385.9| > +--------------------+--------------------------------+ > > I would like to use the time info numerically and can do what > I need by ripping the time/date string apart and creating > time in seconds; but when the date changes during the trek > come into play, as above, the details become complex (leap days, etc). > > Are there standard J utilities for converting Date/time text > into a standard numeric form that accounts for the > complexities of dates? > > Best, > Cliff > > -- > Clifford A. Reiter > Mathematics Department, Lafayette College > Easton, PA 18042 USA, 610-330-5277 > http://www.lafayette.edu/~reiterc > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
