Just a thought, but could you not convert the date/time information for both locations to GMT then convert back to the other? Since GMT is not influenced by daylight savings time, and the timezone information you are using for both locales would likely handle the local influence of GMT, it might be a way to resolve the issue.
Just a thought, though-perhaps someone else can develop the thought, or suggest a better alternative.
Update: After reading your response, I thought about the use of Date::Manip, but noted that it mentioned concerns in dealing with daylight and standard time conversions. However, you can find when the time changes, according to the details located at http://webexhibits.org/daylightsaving/b.html. According to it, daylight savings time begins on the first Sunday of April, and ends on the last Sunday of October. Hope this information might help out.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|