home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / pascal / 8516 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.4 KB

  1. Path: sparky!uunet!psinntp!sunic!aun.uninett.no!nuug!falcon!lfosdal
  2. From: lfosdal@falcon.no (Lars Fosdal)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: Date/time manipulation
  5. Keywords: dat,time
  6. Message-ID: <XiJXXB1w165w@falcon.no>
  7. Date: Mon, 25 Jan 93 13:09:44 MET
  8. References: <1993Jan25.090426.14002@uwasa.fi>
  9. Organization: Falcon Information Services AS, Oslo, Norway
  10. Lines: 30
  11.  
  12. ts@uwasa.fi (Timo Salmi) writes:
  13.  
  14. > In article <currin.27.727945571@unpsun1.cc.unp.ac.za>,
  15. > currin@unpsun1.cc.unp.ac.za writes
  16. > >  23/01/93, 00:01:31, 31, NAME OF SOMEONE
  17. > >This represents that time and date that someone exited the program 
  18. > >followed by the minutes that they were using the software.
  19. > >Does anyone have any code that takes a minutes figure away from the 
  20. > >date and time ?
  21. > Huh? If it is in a fixed postition, just have to use the Copy
  22. > keyword to extract pertinent parts from the string, and then
  23. > recombine eg with +.  Look up the Copy keyword.  This is rather
  24. > trivial.  
  25.  
  26. I believe that he wants to do a julian subtract from the date, not to
  27. copy a section of the string.
  28.  
  29. f.x. 
  30.  
  31.  23/01/93, 00:01:31, 31, UserName   ->  23/01/93, 00:01:00
  32.  
  33. which is not as trivial (unless you use TP/BP and got the Turbo/Object 
  34. Professional library from Turbo Power).
  35.  
  36. Anyone with good shareware/PD date routines out there ?
  37. Please drop currin@unpsun1.cc.unp.ac.za a line !
  38.  
  39. Lars F.
  40.