home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / pascal / 8508 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.5 KB  |  37 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!mcsun!news.funet.fi!uwasa.fi!ts
  3. From: ts@uwasa.fi (Timo Salmi)
  4. Subject: Re: Date/time manipulation
  5. Message-ID: <1993Jan25.090426.14002@uwasa.fi>
  6. Keywords: dat,time
  7. Organization: University of Vaasa, Finland
  8. References: <currin.27.727945571@unpsun1.cc.unp.ac.za>
  9. Date: Mon, 25 Jan 1993 09:04:26 GMT
  10. Lines: 25
  11.  
  12. In article <currin.27.727945571@unpsun1.cc.unp.ac.za> currin@unpsun1.cc.unp.ac.za (Michael Currin) writes:
  13. >  23/01/93, 00:01:31, 31, NAME OF SOMEONE
  14. >This represents that time and date that someone exited the program followed 
  15. >by the minutes that they were using the software.
  16. >Does anyone have any code that takes a minutes figure away from the date and 
  17. >time ?
  18.  
  19. Huh? If it is in a fixed postition, just have to use the Copy
  20. keyword to extract pertinent parts from the string, and then
  21. recombine eg with +.  Look up the Copy keyword.  This is rather
  22. trivial.  
  23.  
  24. But if the position in the string is volatile (probably not!), then
  25. it is a bit more complicated.  You can use the parsing routines in
  26. the tspa31*.zip units in that case to extract the portions and then
  27. recombine them leaving out what you wish to. 
  28.  
  29.    All the best, Timo
  30.  
  31. ..................................................................
  32. Prof. Timo Salmi      Co-moderator of comp.archives.msdos.announce
  33. Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
  34. Faculty of Accounting & Industrial Management; University of Vaasa
  35. Internet: ts@uwasa.fi Bitnet: salmi@finfun   ; SF-65101, Finland
  36.  
  37.