TIP: Click on subject to list as thread! ANSI
echo: maxdev
to: All
from: Stewart Honsberger
date: 1998-11-20 17:56:58
subject: Maximus time storage?

Hello again, all!

I posted this before, but there seems to be a little more traffic in
this echo, so I might just have a chance.

In several of Maximus's generated (binary) files, it uses a format to
store the date/time like the following;

======
Unit Stamp;
(*

Maximus DOS-style datestamp

*)
INTERFACE

{ DOS-style bitmapped datestamp }
Type
     _Stamp=Record
            Date,Time:Word;
            end;
     _dos_st=Record
             Date,Time:Word;
             end;

{ Union so we can access stamp as "int" or by individual components }

     stamp_combo=Record
                 Case Integer Of
                      0:(ldate:Longint);
                      1:(msg_st:_Stamp);
                      2:(dos_st:_Dos_St);
                 end;
     SCOMBO=stamp_combo;

IMPLEMENTATION

begin
end.
======

Is there anyone out there that can tell me how I'm to access this
date/time? I've tried accessing it as UNIX time, but I end up with a
date somewhere in the mid 2020's, usually.

   Stewart Honsberger (AKA Blackdeath)     WWW: http://sprk.com/blackdeath
   E-Mail: blackdeath{at}tinys.oix.com        ICQ: 3484915

... Human Intelligence - The greatest oxymoron ever!
-!- GOPGP/2 v1.20 

--- Msged/2 TE 05
* Origin: Blackdeath BBS - Private (1:229/604)
SEEN-BY: 396/1 632/0 371 633/210 260 267 270 284 371 635/506 725 728 639/252
SEEN-BY: 670/218
@PATH: 229/604 600 1 2424/10 12/12 396/1 633/260 635/506 728 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™.