Hi,

Thank you, Matt. I wasn't aware of  DateTime. Thanks.

jagdish eashwar

Message: 7
> Date: Sat, 3 Nov 2007 20:55:22 +0000
> From: Matt S Trout <[EMAIL PROTECTED]>
> Subject: Re: [Dbix-class] getting the mysql current date into a
>         variable with   DBIx::Class
> To: "DBIx::Class user and developer list"
>         <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=us-ascii
>
> On Sat, Nov 03, 2007 at 10:00:51PM +0530, jagdish eashwar wrote:
> > Hi,
> > I've googled all over, but I haven't been able to find a way of getting
> the
> > mysql current_date into a scalar using DBIx::Class. Please show me how
> it
> > can be done.
>
> Why aren't you just using DateTime->now ?
>
> --
>       Matt S Trout       Need help with your Catalyst or DBIx::Class
> project?
>    Technical Director
> http://www.shadowcat.co.uk/catalyst/
> Shadowcat Systems Ltd.  Want a managed development or deployment platform?
> http://chainsawblues.vox.com/
> http://www.shadowcat.co.uk/servers/
>
>
>
>
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to