I would like to get the previous business date in an easytrieve program from the system date function but do not know how

ANy help?