Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

date between query in codeigniter

$this->db->where('sell_date BETWEEN "'. date('Y-m-d', strtotime($start_date)). '" and "'. date('Y-m-d', strtotime($end_date)).'"');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #date #query #codeigniter
ADD COMMENT
Topic
Name
4+1 =