Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: How can I get the start date & end date of given week number or month

$
0
0

Assuming that you have your week is Sun to Sat and you have NOT set the start of week for some other day, Jeroen's suggestion works.

 

Of course be careful about boundary conditions where weekend flows into next month.

And also when year wraps around and you have to add 1 to year to get the next month.

 

HTH

 

Avinash


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>