No to_days format in postgresql?
No to_days format in postgresql?
От:
azah azah <izza76@gmail.com>
Дата:
Hi, I really need help to convert to_days from mysql to postgresql as below: TO_DAYS(now()) - TO_DAYS(timecheck) <=7 how can i do it in postgresql? Tq
Re: No to_days format in postgresql?
От:
Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Дата:
> I really need help to convert to_days from mysql to postgresql as below: > > TO_DAYS(now()) - TO_DAYS(timecheck) <=7 > > how can i do it in postgresql? (timecheck - interval '7 days') <= current_timestamp Chris