Peter - thanks very much. I'll use the GMT trick.
John
> -Original Message-
> From: Peter Scott [mailto:[EMAIL PROTECTED]
> Sent: 23 November 2004 04:14
> To: [EMAIL PROTECTED]
> Subject: RE: Date calculations and daylight saving
>
> In article <[EMAIL PRO
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (John Bruin) writes:
>> From: Bob Showalter [mailto:[EMAIL PROTECTED]
>> If you switch from daylight savings time at 2am on Sunday,
>> October 31, then the difference between the local times of
>> noon on Saturday the 30th and noon on Sunday the
John Bruin wrote:
> ...
> Yes this is exactly what I am try to do. I am working out how long
> jobs take to complete and I need 1 day to equal 24 hrs and a week to
> equal 168 hrs regardless of daylight saving change overs. We used to
> use a spreadsheet for this calculation and that's what we're t
;Stephen Liu" <[EMAIL PROTECTED]>
To: "'Perl Beginners List'" <[EMAIL PROTECTED]>
Sent: Monday, November 22, 2004 3:11 PM
Subject: RE: Date calculations and daylight saving
Hi John,
Please advise where can I find following modules
Date::Calc
date::parse
I can&
u
--- John Bruin <[EMAIL PROTECTED]> wrote:
>
>
>
> > -Original Message-
> > From: Bob Showalter
> [mailto:[EMAIL PROTECTED]
> > Sent: 20 November 2004 02:35
> > To: 'John Bruin'; 'Perl Beginners List'
> > Subject: RE:
> -Original Message-
> From: Bob Showalter [mailto:[EMAIL PROTECTED]
> Sent: 20 November 2004 02:35
> To: 'John Bruin'; 'Perl Beginners List'
> Subject: RE: Date calculations and daylight saving
>
> John Bruin wrote:
> > I have a script
John Bruin wrote:
> I have a script that calculates difference between dates and it works
> well. However if the 2 dates straddle our daylight saving times
> (March, October) then the result is either plus or minus an hour
> compared to the expected result.
Are you subtracting "dates" or "local ti
John Bruin wrote:
I have a script that calculates difference between dates and it works well.
However if the 2 dates straddle our daylight saving times (March, October)
then the result is either plus or minus an hour compared to the expected
result.
I am using date::parse (which uses Time::Local) t