Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How to search database by date range

by thundergnat (Deacon)
on May 09, 2013 at 15:42 UTC ( #1032784=note: print w/replies, xml ) Need Help??


in reply to How to search database by date range

It probably will be something like:

my $rs = [$c->model('DB::table')->search( { 'me.date' => { between => ['2013-05-03', '2013-05-04'] } } ,{} )];

Check the SQL::Abstract docs for the gritty details.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1032784]
help
Chatterbox?
Discipulus my posts..
[choroba]: It's been reported before
[Discipulus]: ok no big deal anyway..
[Discipulus]: mmh choroba.. my post is not for you, if you do not want your golfing game somehow spoilered for one of the problems. Adviced! ;=)
[Discipulus]: no that i aim to victory anyway..

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2017-10-22 19:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (275 votes). Check out past polls.

    Notices?