Welcome Guest, Not a member yet? Register   Sign In
Bulk insert query with datetime field
#2

Try:
Code:
$right_now = date("Y-m-d H:i:s");
$this->db->set('cc_created_date', $right_now, FALSE);

Maybe not tested
Practical guide to IgnitedCMS - Book coming soon
Reply


Messages In This Thread
Bulk insert query with datetime field - by muthu - 10-27-2015, 07:03 AM
RE: Bulk insert query with datetime field - by ignitedcms - 10-28-2015, 07:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB