Yes, in the HDFC Net Banking option you get to view/download the account transactions details up to the last 10 years. So, by using the Internet Banking option in HDFC Bank you can easily get the details of the last 5 years' transactions.