calculate days in month

  • 12 February 2023
  • 2 replies
  • 31 views

Hey 

 

pleas help me.

 

I have to calculate an observation time between two dates and sas calculates the days of the periode. How can I get sas to calculate it in months?

 

thank you for your help


2 replies

Userlevel 7
Badge +1

Create a dimension of type duration_month and give it a start and end SQL fields.

@Dawid thank you so much for your suggestion

Reply