Skip to main content
Question

First working day of the Month

  • Nov 10, 2022 3:03 PM UTC
  • 2 replies
  • 113 views

Forum|alt.badge.img+9

Is anybody aware of a select or PL/SQL expression that I could use that would return the first ‘weekday’ of a Month?

2 replies

Forum|alt.badge.img+17
  • Superhero (Partner)
  • Nov 10, 2022 3:26 PM UTC

Hi @JamesW72

 

Look at this post, maybe it could helps You

 

 


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Superhero (Customer)
  • Nov 11, 2022 10:51 AM UTC

Hi @knepiosko 

try this to find the weekday: 

Select to_char(trunc(sysdate, 'MM'), 'Day') from dual;

Try this to find the date: 

Select trunc(sysdate, 'MM') as "First day" from dual;