Example:
TS Code:
Code: Select all
Vars: TimeRef(1112); // representing 11(Hours):12(Minutes)
if Time[1] <= TimeRef and Time[0] > TimeRef then begin
print("Reference Time: ",Date:0:0," ",Time:0:0);
end;
However when I try the below code ( after adding seconds timestamp ) it doesn't work as expected:
Code: Select all
Vars: TimeRef(111200); // Assuming this would represent 11(Hours):12(Minutes):00 Seconds
if Time_s[1] <= TimeRef and Time_s[0] > TimeRef then begin
print("Reference Time: ",Date:0:0," ",Time_s:0:0);
end;
Thanks.