How to automate systime()
Posted: July 5th, 2012, 11:10 pm
Hi Guys, I'm back working with CSPro and a little bit rusty on some things. In a certain field like "time started encoding (protected)" I want to automate the process that it will input the system time to identity what time our encoder started his work. And I think if this will work same thing will apply to "time ended encoding".
Here's my code but its not working:
PROC TIME_STARTED_ENCODINH
PreProc
TIME_START=("99:99:99",systime());
HOUR = int(TIME_START / 10000);
MINUTES = int(TIME_START / 100) % 100;
SECONDS = TIME_START % 100;
And the error message: ERROR: Expecting right parenthesis ')' near line 2 in TIME_STARTED_ENCODINH procedure
And if I try to use this code:
PROC TIME_STARTED_ENCODINH
PostProc
TIME_START=systime();
The error I got: "Out of Range" then it implements clean up.
Your help is highly appreciated.
Here's my code but its not working:
PROC TIME_STARTED_ENCODINH
PreProc
TIME_START=("99:99:99",systime());
HOUR = int(TIME_START / 10000);
MINUTES = int(TIME_START / 100) % 100;
SECONDS = TIME_START % 100;
And the error message: ERROR: Expecting right parenthesis ')' near line 2 in TIME_STARTED_ENCODINH procedure
And if I try to use this code:
PROC TIME_STARTED_ENCODINH
PostProc
TIME_START=systime();
The error I got: "Out of Range" then it implements clean up.
Your help is highly appreciated.