79738148

Date: 2025-08-17 22:30:34
Score: 1.5
Natty:
Report link

TO_CHAR can do this inside the SELECT:

SELECT TO_CHAR(column_date, 'DD-MM-YYYY HH24:MI:SS') AS "Formatted Date" 
FROM your_table;

Where <column_date> is your column in DATE format, 'dd-mm-yyy HH24...' is the datetime format.

OUTPUT: 17-08-2025 22:12:10

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): can
  • Low reputation (1):
Posted by: Caio Silva