dbo.fn_RaceTimeBetween

Syntax:
dbo.fn_RaceTimeBetween(id_race, time_from, time_to, timezone)

Output:
(bit) Return 1 if the event time of a market is between two datetimes of the timezone specified. Otherwise it returns 0.

Input parameters:
id_race (integer)Id of the market
time_from (datetime)Lower bound of the time range
time_from (datetime)Upper bound of the time range
timezone (integer)Timezone used for the comparison.