The yield for a T bill uses the bond equivalent yield (or 'investment yield') which is based on the settlement date of the trade, and generally uses an Actual/365 day count. Note that the day count can sometimes vary.
Yield = (par value - price) / price * 365 / days until maturity
i.e. a T bill trading at 98.50 with 120 days remaining from the trade's settlement date to the maturity date = (100 - 98.50) / 98.50 * 365 / 120 = 4.63%