home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 20
/
amigaformatcd20.iso
/
-coverdisks-
/
af104a
/
db35
/
examples
/
arexxdemos
/
timefield.db
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1997-09-29
|
281 b
|
12 lines
/* Rexxprogram for db to convert a field to a "time field".
* By Anders Callertun 1994
*/
options results
GETFIELD
time = result
if pos(':',time)=0 & length(time)<5 then do
if length(time)<3 then time = right(time,3,'0')
PUTFIELD left(time,length(time)-2)':'right(time,2)
end