• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.