tags:

views:

22

answers:

2

the best way, you think.

thanks.

+3  A: 

use now() in select query.

like this,

   dattime = now();
Karthik
+4  A: 

On the PHP side, you can use the date function:

$date = date('Y-m-d H:i:s');

webbiedave