>>>>> "CN" == Chris Nandor <[EMAIL PROTECTED]> writes: >> This is a wider >> problem then a fixed epoch for perl. Let's turn this around. What if >> we are on a platform that doesn't use perl's epoch and we need to write >> a value to a file? CN> Yes. What if? That's what we're addressing. Right now, you need to use CN> something like Time::Epoch to do a conversion, or you use a non-ambiguous CN> representation, such as you get with Date::Manip (which, BTW, I believe is CN> broken in respect to MacPerl's epoch; that is, I think I needed to convert CN> to Unix epoch before doing something with it). You misundertood me. You have to know several different facts. The current epoch, the machine epoch, the epoch that the file requires. I really don't see that we need more than what is the difference between the timestamp returned from the syscalls, and the unix (or whatever) epoch. If you want to adjust for timezones just calculate the constant. Which since you are giving it in HHMM format you might as well just calculate directly. So what am I missing. <chaim> -- Chaim Frenkel Nonlinear Knowledge, Inc. [EMAIL PROTECTED] +1-718-236-0183
- Re: RFC 99 (v3) Standardize ALL Perl platforms on UNIX epoc... Chris Nandor
- Re: RFC 99 (v3) Standardize ALL Perl platforms on UNIX epoc... Andy Dougherty
- Re: RFC 99 (v3) Standardize ALL Perl platforms on UNIX... Chris Nandor
- Re: RFC 99 (v3) Standardize ALL Perl platforms on ... Andy Dougherty
- Re: RFC 99 (v3) Standardize ALL Perl platforms... Chris Nandor
- Re: RFC 99 (v3) Standardize ALL Perl platforms on UNIX... Chaim Frenkel
- Re: RFC 99 (v3) Standardize ALL Perl platforms on ... Russ Allbery
- Re: RFC 99 (v3) Standardize ALL Perl platforms on ... Chris Nandor
- Re: RFC 99 (v3) Standardize ALL Perl platforms... Chaim Frenkel
- Re: RFC 99 (v3) Standardize ALL Perl platf... Chris Nandor
- Re: RFC 99 (v3) Standardize ALL Perl ... Chaim Frenkel
- Re: RFC 99 (v3) Standardize ALL Perl ... Chris Nandor
- Re: RFC 99 (v3) Standardize ALL Perl ... Chris Nandor
- Re: RFC 99 (v3) Standardize ALL Perl ... Andy Dougherty
- Re: RFC 99 (v3) Standardize ALL Perl ... Bart Lateur
- Re: RFC 99 (v3) Standardize ALL Perl ... Chaim Frenkel
- Re: RFC 99 (v3) Standardize ALL Perl ... Chris Nandor
- Re: RFC 99 (v3) Standardize ALL Perl ... Chaim Frenkel
- Re: RFC 99 (v3) Standardize ALL Perl ... Chris Nandor
- Re: RFC 99 (v3) Standardize ALL Perl ... Chaim Frenkel
- Re: RFC 99 (v3) Standardize ALL Perl ... Chris Nandor