Desktop productivity for business analysts and programmers

Business Calendar

Occasional Contributor
Posts: 8

Business Calendar

Friends, i need to make a business calendar i.e Month end of current month is next month start +3 days.

Super User
Posts: 10,589

Re: Business Calendar

Assuming start_of_month to contain the starting date of the current month:

end_of_month = intx('month',start_of_month,1,'beginning') + 3;

Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Regular Contributor
Posts: 168

Re: Business Calendar

Posted in reply to KurtBremser

typo error. it should be intnx.

end_of_month = intnx('month',start_of_month,1,'beginning') + 3;

Ask a Question
Discussion stats
  • 2 replies
  • 1 like
  • 3 in conversation