dbo.fn_BetDateTime

Syntax:
dbo.fn_BetDateTime(id_trade, bet_num, property)

Output:
(datetime) Returns timestamp properties of a bet.

Input parameters:
id_trade (integer)Id of the trade
bet_num (integer) bet ordinal position into the trade
property (string) Can return one of the following timestamps:
  • 'place' = timestamp when the bet was placed
  • 'match' = timestamp when the bet was matched