Hey, Monks, Wizards & other wiseguys!
Further research has clarified the question. That is, I tripped over the answer looking for something else. BTAIM, I've discovered that my assumption about the value "-360" was correct. Thanks to all who've given this some thought, and especially to DragonChild for answering.
Regards.
There's some confusing going on regarding UTC in Win32. MSDN explains the "-XXXX" part of the format "yyyymmddhhmmss.ssssss-XXXX" as being +/-hhmm from Zulu time (GMT). Well, that's peachy, BUT...
When I run the Perl code that brings in UTC date,
$date = $foo->LocalDateTime;
(where $foo is appropriately defined--don't tell me, I know, but it works), I don't get back four Xs, only three (specifically, "-360"). Now it happens that I'm in Illinois, using CST, which happens to be Z-6 hours, and six hours just happens to be 360 minutes. So my question is this: is it just a coincidental artifact that my time string reads "yyyymmddhhmmss.ssssss-360" or is the -360 truly the delta from Zulu time, but expressed in minutes? In other words, in California (using PST), would this come back with "-480" (Z-8 hours)?
I need the straight scoop on this 'cuz we're looking at a nation-wide usage here, and I dasn't hose up time settings by making an incorrect assumption about this.
Thanks, all!
Dismas
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.