clear
dStart = {2025/02/01}
dEnd = {2025/02/28}
dTest = dStart
nCount = 0
do while dTest <= dEnd
if dow(dTest) <> 1 and dow(dTest) <> 7
nCount ++
?dtest,cdow(dTest) //Commnet out this line if you only want a count
endif
dTest+=1
enddo
?
? 'Number of weekdays between '+chr(13)+chr(10)+cdow(dStart)+' '+dStart+ ' and '+cdow(dEnd)+' '+dEnd +' is '+nCount
Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0