//za test v Query analyser
Select count(*) as total_played from MEMB_STAT where convert(DATE, cast(ConnectTM as smalldatetime), 101 ) like convert(DATE, cast(GETDATE() as smalldatetime))
//PHP
$played_today = mssql_num_rows(mssql_query("Select * from MEMB_STAT where convert(DATE, cast(ConnectTM as smalldatetime), 101 ) like convert(DATE, cast(GETDATE() as smalldatetime))"));