Ok, I've read the two threads in this forum on this subject (
170223 and
39564), and I don't think they've answered (at least clearly enough for my lowly understanding) if it's possible to tell when daylight savings time is occurring in some given time zone.
Here's the problem. I, sadly, live in Indiana, where we do not observe daylight savings time. To do a reconciliation process, we must match records with Verisign in California, where they do recognize daylight savings. So, I need my programs to know when California has shifted and appropriately alter the time depending on the time of year so that our daily reports' time range matches midnight to midnight in California. Make sense? And so, by extension, my problem isn't doing the shift (that's trivial), but figuring out WHEN I need to make the hour shift.
Is there a programmatic way to know when daylight savings is currently being observed? If so, can you please give me a hint to understand how to go about it? Is there a Perl module I've overlooked that can tell this kind of information? Looking at the Net:ICal:Daylight module doesn't really help, but if someone knows that will solve the problem, I'll invest a much greater amount of time into understanding the bunch of OO-like modules involved.
TIA, as always, for your experience.
20030208 Edit by Corion : Changed node ids to links
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.