I've tried switching the attributes in db so that I could store microtime but it doesn't seem to work. Is there a way to store microtime in DB?
If we are talking about MySQL here, you'll probably have to store the value in a non-date/time data type, as the date/time types only save a granularity down to seconds. You could use a float type or a decimal type with 6 decimal places.