AS today_at_midnight,
booktown=# SELECT timestamp(date('now'))
AS today_at_midnight,
booktown-# timestamp(dateCnow'),
booktownd time('now')) AS right_now;
today_at_m1dnight | rightjiow
2001-09-01 00:00:00-07 | 2001-09-01 18:04:16-07
(1 row)
Содержание раздела