Timestamp support

Tested with PostgreSQL