Using QueryDSL - is there a way to select rows by date from a timestamp other than using .between? Something like this query:
where convert(date, mytimestamp) = '2013-02-28'
You can either use between or a custom expression if you use Querydsl SQL
Something like this
DateExpression<Date> converted = DateTemplate.create(Date.class, "convert(date, {0})", mytimestamp);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With