Why not built in microtime()? You need to pass true to get it as a float.