Desktop productivity for business analysts and programmers

Business Calendar

Reply
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: 7,399

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
Regular Contributor
Posts: 168

Re: Business Calendar

typo error. it should be intnx.

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

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