Problems? Is your data what you think it is? | |
PerlMonks |
Searching a Date between 2 dates with DBIx::Classby phildeman (Scribe) |
on Sep 05, 2019 at 21:49 UTC ( [id://11105687]=perlquestion: print w/replies, xml ) | Need Help?? |
phildeman has asked for the wisdom of the Perl Monks concerning the following question: HELP!! I want to search for a row in a table using current date that falls between a start and end date, using DBIx::Class. The data type for the 2 date columns (in SQL Server) is datetime.
The results are empty, yet when I go into the database there is a record that meets my criteria. The record
that meets the criteria is I am using DBIx::Class::InflateColumn::DateTime as part of my database package. What can I do to make this return the result I am looking for? Thanks for your help!
Back to
Seekers of Perl Wisdom
|
|