How would you store bids according to the local time of the server in php codeigniter? so every time the user enters a bid , the php would use a microtime function to store it?
function create($user_bid){
$this->db->set('bid', $user_bid);
$this->db->set('microtime'=>microtime(TRUE)));
$this->db->insert('products',array('microtime'=>microtime(true)));
$query= $this->db->insert('products');
$this->load->view('bidding');
} }