Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8594

Re: how to know the first week of the year is having particular day?

$
0
0

Hi Geetha,

 

Please refer to the solution as per you request, it really works

 

Get the Monday and Sunday Dates
GET_WEEK_INFO_BASED_ON_DATE

In this FM put the date as 01012014 it will return the Monday and Sunday Date

Then after check the week for the date i.e. monday date from the previous FM and pass to Date_get_week
DATE_GET_WEEK 

if the week is yyyy01 then your requirement is met, here yyyy denotes the year you want to check for.

 

Then after you can use the below code as required.

 

Let me know in acse you require any further inputs.

 

BR/Thanks

Pranav Agrawal    


Viewing all articles
Browse latest Browse all 8594

Trending Articles



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