my $mydatarow = $schema->resultset( 'DataTable' )->search({ START_DATE => { '<=' => $dt }, END_DATE => { '>=' => $dt->ymd() }})->single;