RE: Date calculations and daylight saving

2004-11-22 Thread John Bruin
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

RE: Date calculations and daylight saving

2004-11-22 Thread Peter Scott
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

RE: Date calculations and daylight saving

2004-11-22 Thread Bob Showalter
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

Re: Date calculations and daylight saving

2004-11-21 Thread Michael David
;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&

RE: Date calculations and daylight saving

2004-11-21 Thread Stephen Liu
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:

RE: Date calculations and daylight saving

2004-11-21 Thread John Bruin
> -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

RE: Date calculations and daylight saving

2004-11-19 Thread Bob Showalter
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

Re: Date calculations and daylight saving

2004-11-18 Thread Gunnar Hjalmarsson
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