Turnaround Time calculations

Reply
New Contributor
Posts: 2

Turnaround Time calculations

Hi,

I'm trying to calculate the turnaround time between dates, weekdays only.  I figure I can somehow factor in the WEEKDAY function, but I am wondering if there is a function similar to the networkdays function in Excel.

Any ideas?  Also, I use Enterprise Guide primarily, I am not a programmer.

Thanks

Emily

PROC Star
Posts: 7,492

Re: Turnaround Time calculations

You could use the intck function.  e.g.:

data want;

  informat havedate1 havedate2 date9.;

  format havedate1 havedate2 date9.;

  input havedate1 havedate2;

  want=intck('weekday',havedate1,havedate2);

  cards;

01OCT2012  15OCT2012

03OCT2012  31OCT2012

;

Ask a Question
Discussion stats
  • 1 reply
  • 202 views
  • 0 likes
  • 2 in conversation