The probleme is not that mssql save time stamp in float format, the problem is that the format of mssql datetime string is different of other database.
(in mysql : 1999-12-01 10:30:20.000
in mssql : Aut 31 1999 10:30:10.000
For have the same format use the SQL command CONVERT :
$strSQL = " SELECT
*,
Convert(varchar(10), Dto_apl, 103) AS APLDto_apl,
Convert(varchar(10), Dtx_apl, 103) AS APLDtx_apl,
Convert(varchar(10), Dt_apl_qlt, 103) AS APLDt_apl_qlt,
Convert(varchar(10), Dto_apl, 108) AS APLDto_apl_h,
Convert(varchar(10), Dtx_apl, 108) AS APLDtx_apl_h,
Convert(varchar(10), Dt_apl_qlt, 108) AS APLDt_apl_qlt_h
FROM
APL
WHERE
PKId = $ID";
so you have the right format.
PS : Excuse for my poor english.
Bye bye, hope it will help you