Do a search on www.cpan.org for Date::Pcalc. This is a whole series of Perl functions 
dealing with date calculations. (And I didn't even write them.)



> -----Original Message-----
> From: Steve Main [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 28, 2003 1:15 PM
> To: [EMAIL PROTECTED]
> Subject: dealing with dates
> 
> 
> 
> 
> Hello list,
> 
> I am having a problem coming up with a solution to compare 
> and find the
> difference between two dates.
> 
> One of the dates is a GMT date while the other is PST(or PDT) so my
> first
> Problem is converting the local date to GMT which is fine 
> unless I want
> to automagically "detect" the hour back or ahead.  So I guess my
> question is does anyone have a slick way to convert a date to 
> GMT and a
> way to get the number of days between the two dates?
> 
> Thanks
> 
> Steve
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to