[Logo]
Forums Register Login
substract n minutes to sysdate (Oracle, HQL hibernate 2)
Hi,
Here is HQL I use for adding days:
"select * from Person pers where (pers.birth> trunc(sysdate - :daysoffset))" - Persons with birth date after "daysoffset" days from now.

but the birth field is full date with minutes and seconds. I want: Persons with birth date after "daysoffset" MINUTES from now.

Thanks,
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Dec 14, 2017 01:31:33.