[saga-rg] Timestamp issue
Andre Merzky
andre at merzky.net
Wed May 17 09:45:59 CDT 2006
Quoting [Christopher Smith] (May 05 2006):
>
> Does anybody have a pointer to the relevant ISO standard?
Is there an ISO standard for that?
> We could also use seconds since the epoch..... ;-)
Would make it easier for C programmers, but I am not sure if
others could handle them as easily. I would hesitate to
leave that to the language bindings though (although that is
possible I guess...).
Posix knows about ctime, which basically gives the output of
"asctime (localtime (t))". That format
"Wed Jun 30 21:49:08 1993\n" would be a good candidate to
agree on I think.
my 2 cent, Andre.
> On 05/5/06 07:44, "G.E.POUND at soton.ac.uk" <G.E.POUND at soton.ac.uk> wrote:
>
> > Andre,
> >
> > Here is a quick [and easily resolved?] issue for your list.
> >
> > Several attributes are defined in the spec as "time/date", for example:
> >
> > 'Created'
> > - The time stamp of the job creation in the resource
> > manager (i.e. the submission time). Date/time.
> >
> > 'Started'
> > - The time stamp indicating when the job started running.
> > Date/time.
> >
> > 'Finished'
> > - The time stamp indicating when the job completed.
> > Date/time.
> >
> > Because attributes are handled as strings it would be good to specify a
> > format for the timestamps; for example 'yyyy-mm-dd HH:MM:SS'. This would
> > allow them to be handled predictably by the client code.
> >
> > Graeme
> >
> >
> >
> >
--
"So much time, so little to do..." -- Garfield
More information about the saga-rg
mailing list