fixed time extractin to include milliseconds.