Welcome Guest, Not a member yet? Register   Sign In
Add now() function to DB Query Builder
#1
Smile 

It would be nice, to have straight built in now() function in query builder for Date / Date-Time Smile
Without making it other way, or using Date library, just Query Builder.  Blush Blush Blush
Reply
#2

Why not use now() directly like that?

Code:
$this->db->set('mytime', 'now()', false);

Reply




Theme © iAndrew 2016 - Forum software by © MyBB