sql where datetime is today code example Example 1: sql display today's date SELECT getdate() Example 2: current date in sql SELECT CURRENT_DATE from dual;