TIP: Click on subject to list as thread! ANSI
echo: perl
to: tony summerfelt
from: Maurice Kinal
date: 2005-02-27 14:14:16
subject: posix strftime

Hey tony!

Feb 27 15:40 05, tony summerfelt wrote to Maurice Kinal:

 ts> not under win2k sp2 using activestate's perl v5.8.0

 ts> mine gives me:  ! 27 Feb 15:40:08 -- this is a test

 ts> using %X gives me: ! 03:39:36 PM -- this is a test

 ts> which is not a max style log...might be different under  linux, which 
 ts> probably has a standard posix header. i'm assuming it's the windows 
 ts> one that deviates from the standard...

Certainly looks that way.  I suppose the %H:%M:%S call would be the way to
go if portability is the goal.  How about "gmtime" as opposed to
"localtime"?  Will activestate's perl make the needed
adjustments?

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™.