Stuck with a function: Return true if time between 8pm & 1am
Posted: Jul 18 2012
Hello
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).
Any idea how i cant resolve this simple function
Martin
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