data test2; weekdays=intck('Weekday','01May2019'd,'18May2019'd); run; it suppose to give me 13 days but giving 12 days, Any one know why it is giving 12 days
... View more
Data SASdat.Emp; input EMP_ID Name $ Salary Sal_Date date9.; format Sal_Date date9.; datalines; 101 A 10000 31-May-2016 102 B 15000 30-Jun-2016 103 C 20000 31-Jul-2016 104 D 18000 31-Aug-2016 105 E 13000 30-Sep-2016 106 F 80000 31-Oct-2016 107 G 30000 30-Nov-2016 108 H 35000 31-Dec-2016 ; I need only Emp_Id with 107
... View more