| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Perl::JAM (was: txt2pkt.pl) |
Hey Johan! Feb 22 17:08 05, Johan Billing wrote to Maurice Kinal: JB> Sure. I think that it would probably be a bit more difficult to get JB> the UTC offset through the POSIX module, but it can probably be done JB> by calculating the difference between gmtime() and localtime(). Actually it is easy but then again it doesn't matter since localtime on the server is UTC here. :-) I haven't tried it for awhile but it seems to me that output can be adjusted to any timezone no matter what the local server's localtime is. I think that requires /usr/share/zoneinfo (libc) but don't quote me on that. I know that a call to "date" on the commandline definetly can be adjusted to differing timezones without setting the system date. I don't see why the Perl module would be any different. I'll check it later since we here at Kumalockasun would find that useful wrt network date. Life is good, Maurice --- Msged/LNX 6.1.2* Origin: Coffin Point - Ladysmith, BC Canada (1:153/401.1) SEEN-BY: 633/267 270 @PATH: 153/401 307 140/1 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.