On Wed, 3 Mar 2004, Joshua Hoblitt wrote: > There are two threads running on the p6i list right now dealing with > date and time handling. The threads are "Dates and Times" and > "Epoch...". Larry Wall has stated that by default Perl 6 will return > time as a floating point number of seconds since 2000. Regardless of > what Perl 6 does, I'm advocating that Parrot returns TAI. If anyone has > something constructive to say please hop in.
TAI seems reasonable, since it should be easy to convert to whatever else is needed. Presumably, sub-second precision will vary across platforms, so I'm not worried about that. The idea of Perl 6 returning floating point numbers isn't all that thrilling, though, since then to convert to some arbitrary sub-second precision you may have to round off the number, meaning that conversion to and from this Perl 6 native type won't necessarily be a round trip thing. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/