[Catalyst] now() in insert

Lars Balker Rasmussen lars at balker.dk
Fri Feb 6 16:49:56 GMT 2009

On Fri, Feb 6, 2009 at 5:40 PM, Devin Austin <devin.austin at gmail.com> wrote:
> On Fri, Feb 6, 2009 at 4:45 AM, Christian Lackas <christian at lackas.net> wrote:
>>                        dt => \'now()'
> DateTime also has a ->now method.

Careful now, they may not be identical:

% perl -MDateTime -E 'say DateTime->now'

postgresql=> select now();
 2009-02-06 17:48:00.240287+01

No timezone in DateTime unless you explicitly ask for it.

More information about the Catalyst mailing list