Amateur problem, but don't figure how.
I want a function :Asia , to return true if time of the bar is between 8pm and 1 am the following day ( 5H later).
Code: Select all
// Return true if asia session is on
Asia = False;
If time_S >= 200000 and (time_S <= calctime(time_s, 050000)) then Asia = True;
Martin