mortenbra / alexandria-plsql-utils

Oracle PL/SQL Utility Library
778 stars 316 forks source link

Adding New function to return day of the week #38

Closed nnamacha closed 1 year ago

nnamacha commented 7 years ago

Am requesting permission to contribute by adding a new function that returns the day of the week. For example monday

mortenbra commented 7 years ago

Agree with @jeffreykemp that this function seems to specialized. What would perhaps be more useful is a function called get_week_day that returns a number representing the day of the week (1,2,3,4, etc), but given that the definition of what is the first day of the week would change based on region/NLS parameters, it is perhaps best left to project/application-specific code...