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