In PostgreSQL, you can use the to_char()
function to get the short day name from a date.
By “short day name” I mean the abbreviated day name, for example Fri, Mon, etc.
The to_char()
function accepts two parameters; the date and the format string with which to format that date.