fixed bugs of getting timestamp

I fixed bugs of getting timestamp.
The xAxis of chart was same timestamp cause parameter of $this->db->unixTimestamp() was empty.