You are asking a MySQL question.
'SELECT NOW()' returns the value you seek.
Also, MySQL offers a timestamp field for just such a purpose, so that you don't have to pre-acquire the date.
You can construct a date value creating the well documented date syntax by the results of localtime.
Take your choice.
In reply to Re: Use mysql NOW() fuction from DBIx::Class
by snopal
in thread Use mysql NOW() fuction from DBIx::Class
by alfarid23
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |