how to get date and time now in sql code example Example: how to to get current date in sql SELECT CURRENT_DATE from dual;