home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 11 
 Maurice Kinal to Jame Clay 
 localtime 
 11 Jul 11 20:48:12 
 
Hey Jame!

Hopefully this is the last message from me about this particular
subject.  :::knocking on wood:::

I more or less took your advice about man pages except decided to let
the perldoc site do all the dirty work for me and found this within
http://perldoc.perl.org/functions/localtime.html;

"$mon the month in the range 0..11, with 0 indicating January and 11
indicating December. This makes it easy to get a month name from a list"

That makes perfect sense but doesn't really explain the 16 bit binary
month in FTN pkt headers or does it?  Do any of your modules use the
output from an incoming packet in that manner?  Offhand I cannot really
see it being of any real consequence but then again I haven't seen the
value of ANY of the data within a pkt header so I might be extremely
prejudiced.

At the very least I now know why $mon is 0..11 in localtime and it has
nothing to do with direct display of it's value and more to do with zero
based lists, arrays, etc.

Life is good,
Maurice

--- VIM - Vi IMproved 7.3 on x86_64-atom-linux-gnu
 * Origin: Pointy Stick Society (1:261/38.9)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca