[MOBY-dev] Last minute change to RFC1913

Mark Wilkinson markw at illuminae.com
Tue Jan 31 00:51:40 UTC 2006


Hiya, 

I've changed the 1913 RFC such that the timestamp is in GMT (suffixed
with a "Z").

At the level of the MOBY::Central code, it is using the following call
to generate the timestamp:  

        gmtime(time())

However, the time() function returns different values on Mac vs
Windows/*nix OS's (the Epoch is not the same in the Mac world,
apparently!)

Can someone with a Mac please confirm that the gmtime function in Perl
will correctly report GMT on a Mac (or is this problem solved with OS-
X?)?  I want to be sure that the MOBY Central code is portable, and
reporting correctly if we are going to start suggesting that people can
actually use this timestamp for anything important.

I take it that nobody has any objections in principle to this change?

M
P.S.  to report gmtime(time) in a human-readable form retrieve it as a
scalar rather than in list context - print scalar(gmtime(time))




-- 
--
...his last words were 'Hey guys!  Watch this!'
--
Mark Wilkinson
Asst. Professor
Dept. of Medical Genetics
University of British Columbia
PI in Bioinformatics
iCAPTURE Centre
St. Paul's Hospital
Rm. 166, 1081 Burrard St.
Vancouver, BC, V6Z 1Y6
tel: 604 682 2344 x62129
fax: 604 806 9274

"For most of this century we have viewed communications as a conduit, 
       a pipe between physical locations on the planet. 
What's happened now is that the conduit has become so big and interesting 
      that communication has become more than a conduit, 
       it has become a destination in its own right..."

                Paul Saffo - Director, Institute for the Future




More information about the MOBY-dev mailing list