sql get from date code example Example 1: sql display today's date SELECT getdate() Example 2: how to get date in sql SELECT CURRENT_DATE from dual;