Skip Navigational Links
LISTSERV email list manager
LISTSERV - COMMUNITY.EMAILOGY.COM
LISTSERV Menu
Log In
Log In
LISTSERV 17.5 Help - LSTOWN-L Archives
LISTSERV Archives
LISTSERV Archives
Search Archives
Search Archives
Register
Register
Log In
Log In

LSTOWN-L Archives

LISTSERV List Owners' Forum

LSTOWN-L

Menu
LISTSERV Archives LISTSERV Archives
LSTOWN-L Home LSTOWN-L Home

Log In Log In
Register Register

Subscribe or Unsubscribe Subscribe or Unsubscribe

Search Archives Search Archives
Options: Use Forum View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
Re: Control codes in columns 81-100
From:
Dan Wheeler <[log in to unmask]>
Reply To:
LISTSERV list owners' forum <[log in to unmask]>
Date:
Mon, 8 Jan 1996 21:29:28 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (57 lines)
At 01:02 AM 1996/01/08 -0500, Birdie MacLennan wrote:
>
>Is there a way, under 1.8b to view the last date of listserv
>activity on these codes, i.e., when did a subscriber first
>sign on to the list and/or when did they last update their subscriber
>options?  (i.e., is there a way without running a perl script?)
 
It is not too hard to do the date conversion manually that is done by my
perl script.  Here is a sample code string:  1AAACACx5Z  The *last* four
characters in the code string encode the date:  Cx5Z  These are a base64
encoding of a number that represents the date.  Each letter represents a
6-bit number.  Decoding all four letters gives a 24-bit number that is the
number of days since the year 1.  Since all of the dates begin with Cx, you
really only have to worry about the last two characters:  5Z
 
Here is the table for base64 encoding from my perl script:
 
 %decode64 = (
 "A",  0, "B",  1, "C",  2, "D",  3, "E",  4, "F",  5, "G",  6, "H",  7,
 "I",  8, "J",  9, "K", 10, "L", 11, "M", 12, "N", 13, "O", 14, "P", 15,
 "Q", 16, "R", 17, "S", 18, "T", 19, "U", 20, "V", 21, "W", 22, "X", 23,
 "Y", 24, "Z", 25, "a", 26, "b", 27, "c", 28, "d", 29, "e", 30, "f", 31,
 "g", 32, "h", 33, "i", 34, "j", 35, "k", 36, "l", 37, "m", 38, "n", 39,
 "o", 40, "p", 41, "q", 42, "r", 43, "s", 44, "t", 45, "u", 46, "v", 47,
 "w", 48, "x", 49, "y", 50, "z", 51, "0", 52, "1", 53, "2", 54, "3", 55,
 "4", 56, "5", 57, "6", 58, "7", 59, "8", 60, "9", 61, "+", 62, '/', 63);
 
5 = 57
Z = 25
 
Multiply the first by 64 and add the second.  57 x 64 + 25 = 3673
 
I got the 5Z from a subscription entered today (1996 Jan 8) so today is day
3673.  If you decode another entry and get day 3573, you will know that the
last subscription activity was 100 days ago.
 
It helps to have a calendar that give the day-of-the-year for each date.
 
>The question about display of date for last listserv activity was posed
>previously in the Oct. discussions, but I don't see an answer in the
>20 or so messages that I reviewed -- except in the perl script ...
>does one need to learn perl to attain enlightenment or is there an
>easier way?
 
I'm not really sure you will consider this an easier way.  ;-)
 
 
Note: L-Soft regards these codes as undocumented internals and discourages
their use because they want to be free to change them in future releases.
 
 
                               Peace,  Dan
 
<<  Daniel D. Wheeler - Education & Psychology, Univ. of Cincinnati  >>
<<  KIDLINK Director of Educational Services & Subscription Manager  >>
<<  Email: [log in to unmask]      URL: http://www.uc.edu/~wheeler/  >>

ATOM RSS1 RSS2

COMMUNITY.EMAILOGY.COM CataList Email List Search Powered by LISTSERV