Can I set now() function as a default value for a field while adding a new entry?
There are 2 solutions.
1. Use on_insert event handler and write your own insert query that have now().
2. Use current_timestamp default value: http://stackoverflow.com/a/168832/385377
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!