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

  1. Path: sparky!uunet!psinntp!cmcl2!adm!news
  2. From: Seppo.Tuomivaara@cc.kemira.kemira.mailnet.fi
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re[2]: Date/time manipulation
  5. Message-ID: <35225@adm.brl.mil>
  6. Date: 26 Jan 93 12:39:29 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 35
  9.  
  10. ts@uwasa.fi (Timo Salmi) writes:
  11.  
  12. > In article <currin.27.727945571@unpsun1.cc.unp.ac.za>,
  13. > currin@unpsun1.cc.unp.ac.za writes
  14. > >  23/01/93, 00:01:31, 31, NAME OF SOMEONE
  15. > >This represents that time and date that someone exited the program
  16. > >followed by the minutes that they were using the software.
  17. > >Does anyone have any code that takes a minutes figure away from the
  18. > >date and time ?
  19. >
  20. > Huh? If it is in a fixed postition, just have to use the Copy
  21. > keyword to extract pertinent parts from the string, and then
  22. > recombine eg with +.  Look up the Copy keyword.  This is rather
  23. > trivial.
  24. >
  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.  
  41. There are some date/time functions in /pc/turbopas/goodies.zip at garbo.uwasa.fi
  42.  
  43. -- Seppo Tuomivaara
  44.    Kemira, Oulu, Finland
  45.