postgresql format timestamp output code example Example: postgres get timestamp SELECT CURRENT_TIMESTAMP;