I have a server with PostgreSQL 8.4 which is being rebooted every night at 01:00 (don\'t ask) and need to get a list of connected users (i.e. their timestamps are u.lo
u.lo
select * from termin where DATE(dateTimeField) = '2015-11-17'
This works well for me!