current timestamp in postgresql code example Example: postgres get timestamp SELECT CURRENT_TIMESTAMP;