Added to_i when convert to timestamp