niammuddin

unix_timestamp(from_unixtime(date_expired) + interval 1 day) <=' => $time,

Jan 19th, 2021
906
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             $this->db->where(
  2.                 [
  3.                     'unix_timestamp(from_unixtime(date_expired) + interval 1 day) <=' => $time,
  4.                     'status' => 'expired',
  5.                     'server' => $sg_01
  6.                 ]
  7.             );
RAW Paste Data