Subj : Perl::JAM (was: txt2pkt.pl) To : mark lewis From : Maurice Kinal Date : Wed Feb 23 2005 07:38 am Hey mark! Feb 23 10:17 05, mark lewis wrote to Maurice Kinal: ml> nope... every single one of my linux installs has asked me what ml> timezone the machine is located in, if daylight savings is to be used ml> and if the clock is UTC or local time... based on these questions, ml> certain settings are stored and maintained by the system and ml> everything else, like the ... Understood. Then adjustments are entirely possible. Try "date -u" on the commandline and see what that says. No matter what you set your zone for that should make the adjustment. ml> gets those settings by simply querying the OS which responds with the ml> answers you gave it... Right. I can set the localtime to any zone I care to and then extract UTC from there. However I plan to alter that somewhat in the very near future, or at least on the hub machine, and then set any others by syncing to that one, which is set to UTC seeing as where it gets the time from is UTC. Any adjustments to zone can be done on the local machine, if required. ml> as well it should... you had to tell the machine's OS what timezone ml> it was in when you chose to use UTC or PST... Right. On the PST one it was a simple matter of, "ln -sf /usr/share/zoneinfo/PST8PDT /etc/localtime" and it now thinks it is in that zone, which it happens to be strangely enough. To get the network time, which is UTC, it has to adjust the result for PST which it will. Simple. Peice of cake even without Perl or the POSIX module. All that remains to be seen is if Windows (IE) can exploit that via the XML-RPC server. By chance the neighbour has one of those, with Perl onboard, so we'll see. WRT outbound packets I'll probably set all those to UTC from the hub machine and that way any local machine won't have anything to sweat. That machine will be the most accurate so it seems sensible that the datetime will be as bang-on as computerly possible. Definetly down to the nearest microsecond but probably a tad more accurate then that. We'll see when we get there. Life is good, Maurice --- Msged/LNX 6.1.2 * Origin: Coffin Point - Ladysmith, BC Canada (1:153/401.1) .