[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

292.0. "DECODE TIMESTAMP Zxxxxxx.WPL??" by MSDSWS::DUNCAN (To boldly go..Where no one dares) Fri Mar 20 1992 15:50

    I'm sure this is somewhere else, but I could not find it.
    
    I'm wanting to translate the filenames like Zxxxxxx.WPL back to the
    original timestamp.  Is there anyway to decode this.
    
    
    Thanks,
    Darryl
T.RTitleUserPersonal
Name
DateLines
292.1Are you sure you want to know?IOSG::MAURICEIOSG ain't a place to raise a kidFri Mar 20 1992 16:4226
    It is sort of possible, but ...
    
    1. The current formula changed in V2.3, so if you have old documents
       you will need a different formula.
    
    2. In V3.0 there are now two formulae. The ALL-IN-1 code still uses
       the Zmumble formula, but the File Cabinet Server uses a completely
       different one that gives rise to filenames beginning with I.
    
    3. The formula has a limited life span. Today's filenames start with
       ZU..., and the letter after the Z changes about every 2 years. In 
       some future release we will have to come up with another formula.
    
    It's for factors like the above that we have not officially published
    the formula, so that no customer writes an application that will break
    when we change it.
    
    If that hasn't put you off ask again I'll mail you the relevant bit of
    BLISS code that takes the number of days since Nov 17, 1858 and codes
    it as the first 3 characters after the Z. Assuming no-one has done it
    before, then you would I think be able to reverse thes characters back
    to the day (but not the time).
    
    Cheers
    
    Stuart 
292.2Why not just look at the creation date/time?IOSG::TALLETTMit Schuh bish hiFri Mar 20 1992 17:521
    
292.3you win!MSDSWS::DUNCANTo boldly go..Where no one daresFri Mar 20 1992 18:138
    Stuart, 
    
    You win.  I guess I will just look at the creation date.  But if you
    don't mind, I would  still like to look at the code.
    
    
    Thanks,
    Darryl MSDSWS::duncan