sql get number of day of week code example Example: get week day from date in sql SELECT TO_CHAR(your_table.date_colunm, 'DAY') FROM your_table;