in reply to Use mysql NOW() fuction from DBIx::Class
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Use mysql NOW() fuction from DBIx::Class
by perllove (Beadle) on Jul 16, 2007 at 02:38 UTC | |
|
Re^2: Use mysql NOW() fuction from DBIx::Class
by perrin (Chancellor) on Jul 16, 2007 at 03:51 UTC |