Last active
September 6, 2017 08:08
-
-
Save pierdom/6a2e439dcec6855568db7ccd09708e47 to your computer and use it in GitHub Desktop.
[Postgres: from date to weekday] Get week of the day from a date column in Postgres (full name: monday, tuesday, ...) #postgresql #sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| select to_char(<mydate>, 'day') | |
| from mytable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment