Section One BBS

Welcome, Guest.


Subject: last one unix longint Date: Thu May 03 2018 12:20 am
From: dream master To: Pequito

On 05/02/18, Pequito said the following...
 Pe>  dm> so g00r00 has changed it to unix longint. im trying in vp to convert
 Pe>  dm> that to mm/dd/yy and getting weird results. used  decodedate(),
 Pe>  dm> unpacktime() and no avail.  i am updating my users 2 html util.

 Pe> in-correctly now when I do datestr(userlaston,1) so need to see an alt
 Pe> way to resolve this one.

yeah because it looks like this...

http://dreamland.darktech.org:8080/users.html

totally wrong but i'm doing this before

Function DateStr (dosDate: LongInt) : String;
Var
        DT : DateTime;
Begin
  UnPackTime (dosDate, DT);
  DateStr := AddZero(DT.Month) + '/' + AddZero(DT.Day) + '/' +
  Copy(Int2Str(DT.Year), 3, 2);
End;

  |08 .|05·|13∙|15Dr|07e|08am Ma|07st|15er|13∙|05·|08.
  |08 °∙|05·|13∙°         |13°∙|05·|08∙°
  |11 DoRE|03!|11ACiDiC|03!|11Demonic
|08[|15dreamland|09.|15darktech|09.|15org|08]

--- Mystic BBS v1.12 A39 2018/04/21 (Windows/64)
 * Origin: --[!dreamland BBS dreamland.darktech.org (44:100/0)

Previous Message       Next Message
In Reply To: Re: last one unix longint (Pequito)