Want to get current datetime
to insert into lastModifiedTime
column. I am using MySQL
database. My questions are:
is there a function available in SQL? or
it is implementation depended so each database has its own function for this?
what is the function available in MySQL?
I always just use NOW():
http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_now