Hello, what is the opposite of cast(extract('epoch' from now()) as int)? The only thing I found that works is cast(cast(... as abstime) as timestamp) and the documentation says abstime shouldn't be used, and may disappear. What should I use instead? -- FreeBSD 4.10-STABLE 12:01AM up 15:39, 7 users, load averages: 0.08, 0.04, 0.01 ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html