Thanks, but I've already looked at dates.ijs and it does not answer my 
question.  

If I have timestamps in the form '2007-12-23 11:42:34.334' I want to convert 
them to the 6!:0 form of 2007 12 23 11 42 34.334. 

isotimestamp in dates.ijs does the opposite of what I need (converts 6!:0 form 
to 'yyyy-mm-dd hh:mm:ss.sss'

-----Original message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Björn Helgason
Sent: Tuesday, January 15, 2008 10:30 AM
To: Programming forum
Subject: Re: [Jprogramming] converting to/from isotimestamp

load'dates'
NB. date and time utilities

NB.   calendar        calendar for year [months]
NB.   isotimestamp    ISO-formatted time stamp
NB.   getdate         get date from character string
NB.   todate          convert to date
NB.   todayno         convert to day number
NB.   tsdiff          differences between dates
NB.   tsrep           timestamp as a single number
NB.   timestamp       formatted timestamp
NB.   valdate         validate dates
NB.   weekday         weekday from date
NB.
NB.   tstamp          obsolete naming for timestamp


2008/1/15, Lettow, Kenneth <[EMAIL PROTECTED]>:
>
> Hi,
>
>
>
> I am a newcomer to J (months <. 2) and I have a run into a problem with
> timestamps.
>
> I need to convert isotimestamps (i.e. 2007-12-12 12:32:43.325) into the
> 6!:0 form.
>
> I have searched the wiki but have come up with no suitable answers.
>
>
>
> Can someone point me in the right direction?
>
>
>
> Thanks,
>
> Ken
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127
801 Grímsnes ,t-póst: [EMAIL PROTECTED]
Skype: gosiminn, gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |        (\_ _/)
  (`-.  '--.)       (='.'=)
   `. )----'        (")_(")
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to