Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
"be consistent"
 
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.


Comment on Re: How to search database by date range
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1032784]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-04-17 04:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (439 votes), past polls