TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: all
from: Barry Block
date: 1998-09-30 01:15:46
subject: timer independent of day change

Hello all,

For recording midifiles to MidiDisks...

I need to time 74 minutes or 148 minutes or a specified number of minutes.

If anyone knows how to time 74 minutes no matter when in the day the start
time happens to be I would appreciate being told how to do it.

If I start too close to 24:00 hours then the day rollover breaks my btm.
So I'm trying to use %{at}fileage.
---
if exist tst del/q tst
echo start time >  tst
echo %{at}fileage[tst,c]
delay 1
echo  one second later >> tst
echo %{at}fileage[tst,m]
delay 10
echo  10 seconds more >> tst
echo %{at}fileage[tst,m]
delay 20
echo  20 seconds more >> tst
echo %{at}fileage[tst,m]
delay 40
echo  40 seconds more >> tst
echo %{at}fileage[tst,m]
---
gave result:

624822048
624822049
624822053
624822063
624822085

which is something like increments of 2 seconds rounded down.
I have not yet timed 74 or 148 minutes to see what happens.
This does not seem too promising.

Wasn't there a function to count seconds since Jan, 1, 1980? I can't find it.

Ideas?

Regards, Barry 

--- Terminate 5.00/Pro 
* Origin: EBO-BBS A'dam +31-20-6002828 (2:280/901.42)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 635/506 728 639/252
@PATH: 280/901 0 801 270/101 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.