get current year timestamp postgres code example Example: postgres get timestamp SELECT CURRENT_TIMESTAMP;