get timestamp with date now sql code example Example: sql current timestamp SELECT CURRENT_TIMESTAMP;