[Dbix-class] Re: getting mysql current_date into a variable with DBIx-Class

jagdish eashwar jagdish.eashwar at gmail.com
Sun Nov 4 02:40:55 GMT 2007


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 <dbix-class at trout.me.uk>
> Subject: Re: [Dbix-class] getting the mysql current date into a
>         variable with   DBIx::Class
> To: "DBIx::Class user and developer list"
>         <dbix-class at lists.scsys.co.uk>
> Message-ID: <20071103205522.GA3434 at jules.scsys.co.uk>
> Content-Type: text/plain; charset=3Dus-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/
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20071104/351=
834c1/attachment.htm


More information about the DBIx-Class mailing list