On Tue, Aug 15, 2000 at 12:08:52PM +0200, Bart Lateur wrote:
> On 11 Aug 2000 16:22:33 -0000, Perl6 RFC Librarian wrote:
> 
> >Currently, Perl uses the C library C<localtime()> and C<gmtime()>
> >functions for date access. However, because of many problems, these
> >should be replaced with two new functions, C<date()> and
> >C<gmtdate()>
> 
> Gee, yet again, we'll get two virtually identical but still separate
> functions. The original RFC tried to get rid of that, and replace them
> by just one function. Why did this sneak back in? Why is it yet again
> not possible to get the local time in another time zone?

You're right, there should be just one date/time routine.  But it is
*extremely* difficult to incorporate time zones in a portable fashion.
They change at legislative whim.  But if utcdate() (or whatever we
call it) had a way to specify an offset from UTC, that would be just
fine.

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to